Preview Github Pages Certificate
bundle install && bundle exec jekyll serve
Compile Sass
sass _sass/ :assets/css/main.css
- Edit
_config.yml
file. - Remove sample posts from
_posts
folder and add yours. - Edit
index.md
file inabout
folder.
_config.yml
Used to generate absolute urls in sitemap.xml
, feed.xml
, and for generating canonical URLs in <head>
. When developing locally either comment this out or use something like http://localhost:4000
so all assets load properly. Don't include a trailing /
.
Examples:
{% highlight yaml %} url: http://tolgatatli.me/Moonrise url: http://localhost:4000 url: //cooldude.github.io url {%endhighlight%}
Your site's logo. It will show on homepage and navigation menu. Also used for twitter meta tags.
Image for background. If you don't set it, color will be used as a background.
To set what links appear in the top navigation edit _data/navigation.yml
. Use the following format to set the URL and title for as many links as you'd like. External links will open in a new window.
{% highlight yaml %}
-
title: Home url: /
-
title: Blog url: /blog/
-
title: Projects url: /projects/
-
title: About url: /about/
You can set feature image per post. Just add feature: some link
to your post's front matter.
feature: /assets/img/some-image.png
or
feaure: http://example.com/some-image.png