My site is now at the point where I’m reasonably happy with it. I might still tinker with things, but that’ll likely be an ongoinging affair. It’s however at a point where it’s ready for actual posts, instead of lorem ipsums!
Site warming :)
Multiple blogs on jekyll and paginate_multiple
I’ve always wanted to have the ability to have separate blogs, by category, but since I don’t write were frequently, and certainly not enough to justify multiple distinct blogs, I gave up on the idea. When I started setting up this site, I realized that it would be easy to have multiple blogs, and still have them under the same system, and with a consistent theme across all of them, so it was too good to resist.
[Tutorial] How to create a new post
This is post geared towards users who are not git savvy, and wish to use github-pages to power their blogs. Here is how to create a new post, using just the github interface.
- Login into your github account, select your github.io repository.
- Go to the _posts directory, and click on ‘Create File’
- Fill in the filename in the format ‘YYYY-MM-DD-postname.md’
- Fill in the frontmatter aka metadata, starting and ending with three dashes, like this.
How to activate tags
In order to use tags, ensure that you specify ‘tags’ in the front-matter of the post.
---
layout: post
title: "How to activate tags"
date: 2017-08-08
comments: yes
categories: general
tags: [jekyll,tags,pagination]
---
Now, in order to activate the tag(s), you’ll have to create tag page(s). For example, to activate a tag called ‘jekyll’, in the tag directory, simply copy template.md to jekyll.md, and within jekyll.md, change the value of the title variable, from ‘template’ to ‘jekyll’.
Coding at 35000ft: Adding tags to my jekyll-powered blog
I’d never written code on a flight, till today. Flying to India on Emirates Airlines, I found there was 20 MB of free wifi access onboard, usable within a two hour period. I connected my phone and I’d barely posted an update on Facebook, when I found that the complimentary 20 MB was over! I realized that the 20 MB would go a lot farther on my Linux laptop, if I only fired up pages I needed. I’d been thinking of adding a tag cloud to my new Jekyll-powered blog, and the long flight now presented the perfect opportunity to get this accomplished! A quick google search revealed a couple of promising hits, which I saved as pdf, and proceeded to try and get it to work. Since I had no prior CSS expertise, it took me some time to figure out how it worked, but once that was done, it was relatively smooth sailing.
A new webpage!
Prior to getting onto Facebook, my only online presence had been my Livejournal, but since then, my visits to my blog have sharply tapered off. Now, I visit my LJ, only when I need to make a post that I want to be able to share with friends outside of Facebook, and if I think I want to be able to find it, a few weeks or months later.