I’m not a designer or something, so I’m sure there is a better way to make this theme. But it’s working and looks acceptable for different screen sizes. If something looks extremely ugly and you can’t resist to fix it, just send me a PR. I will be grateful.
I see some people using this theme. I need to search on Github to find who use it. But I don’t want to search like this. If you like this theme or using it, please give a star for motivation.
_postsfolder and add yours.
How Ramme is organized and what the various files are. All posts, layouts, includes, stylesheets, assets, and whatever else is grouped nicely under the root folder.
A quick checklist of the files you’ll want to edit to get up and running.
_config.yml is your friend. Open it up and personalize it. Most variables are self explanatory but here’s an explanation of each if needed:
The title of your site… shocker!
title: My Awesome Site
Used to generate absolute urls in
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
Google Analytics UA and Webmaster Tool verification tags can be entered in
_config.yml. For more information on obtaining these meta tags check Google Webmaster Tools and Bing Webmaster Tools support.
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.
Explanations of the various
_layouts included with the theme and when to use them.
These two layouts are almost similar. Only difference is page layout doesn’t show date under title.
A sample index page listing all blog posts. The name can be customized to your liking by editing a few references. For example, to change Blog to Posts update the following:
_data/navigation.yml: rename the title and URL to the following:
posts/index.mdand update the YAML front matter accordingly.
Pro-Tip: You need to apply for Twitter Cards before they will begin showing up when links to your site are shared.
To include an auto-generated table of contents for posts and pages, add the following
_include before the actual content. Kramdown will take care of the rest and convert all headlines into list of links.
Found a bug or aren’t quite sure how something works? By all means file a GitHub Issue. And if you make something cool with this theme feel free to let me know.
This theme is free and open source software, distributed under the MIT License. So feel free to use this Jekyll theme on your site without linking back to me or including a disclaimer.