This is an example of layout inheritance. The post layout outputs the title, date, author and content body which is wrapped by the default layout. Jekyll makes posts available at site. Create blog. You also need a way to navigate to this page through the main navigation. Improve this page.
Read: How to create a Jekyll blog. This is actually the key reason to migrate from WordPress. WordPress has a lot of themes and plugins to choose from but if you want to change something, say you want the logo to be some pixels down then it becomes a hassle. I have discarded many themes in WordPress for not being customizable.
Most of the free themes come with a foooter with links to the theme designer. We can remove it in the code but once you update the theme, it will start showing up again. Since WordPress is easy to use and there are gazillion plugins available to emulate these kind of pop-ups, top-bars and other ridiculous bars. Many people use these features as they like, screwing up their readers experience.
May be it is ok with most users but when I see a pop-up I will look for the close button before reading anything on it. Let them read the damn thing.
They may have googled something, found your website link, clicked on it for help. You should be lucky that they landed on your website because there at least 10 different websites offering the same content.
If they like what you write then they definitely will subscribe. It was rather intriguing. I ended up subscribing to his blog without any such intervensions. Jekyll has no database! Jekyll runs nothing on the server. It just keeps files ready to be served. Jekyll is really simple once you understand the basic structure and functions. It supports markdown for posts and pages. It uses the famous Liquid Syntax by shopify for conditional logic and other functionalities which is basically human readable coding!
I think this way of coding is very comprehensive even to a non-coder. Since Jekyll has very less code, it is fast by default. If you want to see the difference, then take a Jekyll site take this site for example and a WordPress site and compare them on PageSpeed Insights. Having no database is kind of good when we are looking at security.
Static sites are way more secure than Dynamic ones. Static sites are almost unhackable. You are responsible for even a single extra space added to the code! So you have the complete control of the website or blog. This also means that you can easily minify, compress all the assets as you like.
I just love to write in markdown. Markdown allows you to write your post even in a text editor. It has helped me in a big way. We can literally start writing the post right away on our smartphone using any note taking app!
For example, my chess blog kidschessworld is built using Jekyll and hosted on Github Pages which has helped me gain some business I teach chess online. There are hundreds of themes already available. You can subscribe to my blog to get a detailed list of free responsive Jekyll themes and their links to start off with. Usually, Jekyll is hosted on github pages but you can also host it on any other conventional hosting service.
But one thing you observe is that, almost all the Jekyll themes are hosted on a github repository. So in order to test it out you should know how to fork copy the repo to your own account.
And to do that, you should have a github account. So sign up for a free account. Once that is done, you have to find a nice theme for your blog.
So do some research or sign up here to get a quick checklist. You can also checkout Jekyll Themes. Here is a video guide. Jekyll has a pretty large community now. There is one problem with Sass: You have to compile it every time you made a change. Fortunately, there is the compass which always compiles my sass file when I change it.
This is very handy when changing the layout. Look on other pages what is possible with Jekyll. You can learn many new things by looking at other Jekyll blogs and copy what you need. I love to write a little bit and after I finished an article perform rake d to upload my blog. Home Articles About. Why I use Jekyll for blogging For several years I want to write and tried many different platforms like WordPress blogger , or tumblr.
0コメント