Switch to jekyll to generate site

pull/1/head
Asocia 2021-12-26 13:39:35 +00:00
parent 2027512e2c
commit 67e1a54353
15 changed files with 385 additions and 21 deletions

6
.gitignore vendored 100644
View File

@ -0,0 +1,6 @@
_site
_drafts
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor

25
404.html 100644
View File

@ -0,0 +1,25 @@
---
permalink: /404.html
layout: default
---
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>

34
Gemfile 100644
View File

@ -0,0 +1,34 @@
source 'https://rubygems.org'
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem 'jekyll', '~> 4.2.1'
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem 'minima', '~> 2.5'
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
gem 'jekyll-include-cache'
gem 'minimal-mistakes-jekyll'
gem 'no-style-please'
group :jekyll_plugins do
gem 'jekyll-feed', '~> 0.12'
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem 'tzinfo', '~> 1.2'
gem 'tzinfo-data'
end
# Performance-booster for watching directories on Windows
gem 'wdm', '~> 0.1.1', platforms: %i[mingw x64_mingw mswin]

128
Gemfile.lock 100644
View File

@ -0,0 +1,128 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.9)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
faraday (1.8.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
ffi (1.15.4)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jekyll (4.2.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minimal-mistakes-jekyll (4.24.0)
jekyll (>= 3.7, < 5.0)
jekyll-feed (~> 0.1)
jekyll-gist (~> 1.5)
jekyll-include-cache (~> 0.1)
jekyll-paginate (~> 1.1)
jekyll-sitemap (~> 1.3)
multipart-post (2.1.1)
no-style-please (0.1.0)
jekyll (~> 4.1)
jekyll-feed (~> 0.14)
jekyll-seo-tag (~> 2.6)
octokit (4.21.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.27.0)
ruby2_keywords (0.0.5)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)
PLATFORMS
x86_64-linux
DEPENDENCIES
jekyll (~> 4.2.1)
jekyll-feed (~> 0.12)
jekyll-include-cache
minima (~> 2.5)
minimal-mistakes-jekyll
no-style-please
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
BUNDLED WITH
2.3.1

91
_config.yml 100644
View File

@ -0,0 +1,91 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Şahin Akkaya's Personal Page
email: sahin@sahinakkaya.dev
description: >- # this means to ignore newlines until "baseurl:"
Şahin Akkaya's personal blog - a perfectionist who likes to tinker everything
until it is just right. Get ready to find some sweet tips that will boost your
productivity and make you fall in love with your computer.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://sahinakkaya.dev" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: sahinakkayadev
github_username: Asocia
search: true
defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: true
read_time: true
show_date: true
comments: true
share: true
related: true
# _pages
- scope:
path: ""
type: pages
values:
layout: single
author_profile: true
author:
name : "Şahin Akkaya"
avatar : "/assets/images/logo.jpg"
bio : "A perfectionist who likes to tinker everything until it is just right."
twitter: sahinakkayadev
github: Asocia
location : "Istanbul, Turkey"
masthead_title: "/home/sahin/"
# Build settings
theme: minimal-mistakes-jekyll
minimal_mistakes_skin: "neon" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum" "sunrise"
plugins:
- jekyll-feed
- jekyll-include-cache
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/

View File

@ -0,0 +1,7 @@
main:
- title: "Home"
url: /
- title: "About"
url: /about/
- title: "Contact"
url: /contact/

View File

@ -0,0 +1,39 @@
---
title: "First blog post"
date: 2021-12-25 02:54:08 +0300
excerpt: Hello, World!* So here I am and welcome to my first blog. Having a personal space on the Internet has been a dream for me for years and I am happy that it fi...
---
<style>
.ab {
font-size: 1.3em;
line-height:0;
top:0;
}
.cd {
text-decoration: none;
}
</style>
*`Hello, World!`*[<sup class="ab">*</sup>](## "I think I just wrote the best first sentence I could write as a programmer :D"){: .cd}
So here I am and welcome to my first blog. Having a personal space on the Internet has been a dream for me for years and I am happy that it finally have come true. You might think that I could sign-up for a social media platform and my profile would be a personal space for me but no. I just don't feel comfortable with that way. This has been the case since my childhood and also the reason why I don't use Facebook, Instagram or any other social media. If you think you found me on these platforms, I would say it is not me. I might write another post about why I don't like social media but I will cut this one here.
## Why I wanted to start blogging?
There are several reasons for starting my own site and blogging, but I can list the most important ones as follows:
### Giving back to community
I use the software developed and brought by the community every day. The moment I power on my computer I start using Free Software. It really amazes me to see the work produced by people who do not know each other at all. For example, I did not even write a single line of code for this site. If Free Software didn't exist, I'd either have to spend money and use a platform that I have limited control over, or waste my time and build a site with a possibly worse design than this one[<sup class="ab">*</sup>](## "swh"){: .cd}. In return for this, I want to give back to the community. For me, the way to give back to the community so far has been to share the projects I've done and archive the things I learn every day in a repository called [TIL](https://github.com/Asocia/til)[<sup class="ab">*</sup>](## "Today I Learned"){: .cd}. But some of the til's I've written recently are getting lengthy and I think they deserve their own posts. So instead of writing long til's, I will blog what I learned here.
### Archiving the memories
I like to go over what I have done in the past once in a while. Blogging is perfect way to do this. I still read my diaries that I wrote in the past and they are fun. But I promise I will keep these posts more formal than my diaries[<sup class="ab">*</sup>](## "swh"){: .cd}.
### Pushing myself to do something useful
At the end of every year, I sit on my desk and think about what I did in that year. I generally don't like the result because I fail to keep some of my resolutions for that year. Setting up a personal website was one of my resolutions for 2021 and it looks like I manage to keep it[<sup class="ab">*</sup>](## "hooray!"){: .cd}[<sup class="ab">*</sup>](## "swh"){: .cd}. Unfortunately, I can't always keep my spirits up. Sometimes I just do nothing and all the time passes. Hopefully, the feeling that I have to write something will help me get out of bad mood at such times.
### Improving my writing skills
Last but not least, I want to improve my writing. Even though I don't use a formal language while writing here, I think it will help me improve my writing skills.
## Final words
While writing this post I already come up with some new topics to write but I think they need their own posts.
Subscribe to my <a href="/feed.xml"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i>RSS Feed</a> to not miss them. You know RSS, right? I recently started using it and it is the best way to consume content. Do yourself a favor and search it if you don't know. I will probably write something about it in the following blog posts. That's all from me and thank you for reading. See you next time!

5
_saas/main.css 100644
View File

@ -0,0 +1,5 @@
.ab {
font-size: 1.5em;
line-height:0;
top:0
}

30
about.markdown 100644
View File

@ -0,0 +1,30 @@
---
layout: single
title: About
permalink: /about/
---
Hi, my name is **Şahin Akkaya**. I am a 4th year student studying
Computer Engineering at [ITU][itu]. I am a Free Software enthusiast,
Python lover and perfectionist. I like to tinker things until they
are *just right*. I also believe there is no such thing as perfect so
I never stop. I will do my best to make things better and I love doing
it so far.
> Roses are red \\
Violets are blue \\
There will be always \\
A better tool for you \\
\\
> <cite>Şahin Akkaya</cite>
Subscribe to my <a href="/feed.xml"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i>RSS Feed</a> for most recent gems like this
(kidding). But I can still give you three good reason to subscribe:
1. You are here. Reading something on my website. So you wonder about
me.
2. I did literally nothing to set up the feed. It is built in to
[Jekyll][jekyll].
3. RSS is the best thing in the world. Why not?
[itu]: https://www.itu.edu.tr/
[jekyll]: https://jekyllrb.com/

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

13
contact.markdown 100644
View File

@ -0,0 +1,13 @@
---
layout: single
title: About
permalink: /contact/
---
You can contact me via:
- Telegram: <a href="https://t.me/sahinakkaya">@sahinakkaya</a>
- Matrix: <a href="https://matrix.to/#/@sahinakkaya:matrix.org">sahinakkaya:matrix.org</a>
- E-mail: <a href="mailto:sahin1akkaya@gmail.com">sahin1akkaya@gmail.com</a>
I know it doesn't make sense to have a web server and use Gmail but hey, I just setup my server. Eventually, everything will be more <b>professional</b> ;)

7
index.markdown 100644
View File

@ -0,0 +1,7 @@
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
---

View File

@ -1,21 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to my website!</title>
</head>
<body>
<h3>Welcome to the best website in the world!<h3>
<p>It is me, Şahin (Asocia) Akkaya. You can find more about me on:</p>
<ul>
<li><a href="https://github.com/Asocia">Github</a></li>
<li><a href="https://stackoverflow.com/users/9608759/asocia">Stack Overflow</a></li>
<li><a href="resume.pdf">My resume</a></li>
</ul>
<p>You can contact me via <a href="https://t.me/sahinakkaya">Telegram</a>, <a href="https://matrix.to/#/@sahinakkaya:matrix.org">Matrix</a> or <a href="mailto:sahin1akkaya@gmail.com">e-mail</a>.</p><p>And I know it doesn't make sense to have a web server and use Gmail but hey, I just setup my server. Eventually, everything (including the design of this site) will look more <b>professional</b> ;)</p>
</body>
</html>

Binary file not shown.