Phil Bowell
About Archive Also on Micro.blog
  • Adding tags

    This post was written when this blog was based on Jekyll before I moved back to Wordpress. I have kept it as part of the history of this blog.

    It’s taken me a long time with lots of googling and trial & error, but I finally have tags working on this site.

    Out of the box Jekyll provides a tagging function. You can define tags at the start of blog posts along with the other data you wish to add, but annoyingly Jekyll doesn’t automatically provide archive pages.

    When I first built this version of my site I started to add tags to my blog posts. I managed to figure out how to display them on each posts page but that was as far as I got. I made a couple of attempts at adding the functionality I wanted to the tags in the form of a page for each tag that lists the post attached to the tag. I wanted people to be able to click on the tags at the bottom of the posts and go to the tag page, and I wanted to list all the tags in use on the site in the archive page.

    Finally today I came across this list of Jekyll plugins. In the list was a plugin designed to generate archive pages for years, months, days, categories, and tags. With the aim of todays tinkering focused on getting tags working I limited the archive plugin to just generate the pages for tags. Joyfully it worked first time. It took me some playing around with the templates to get them looking how I wanted, but I had pages generated for each tag and links to each page from the bottom of the posts.

    The final task was getting a list of tags on the archive page. It took a lot of googling and faffing but eventually I managed to achieve what I wanted.

    Now I just have to spend a bit of time making sure everything is tagged up as I want before I can explore how to make use of the tags in other ways.

    → 11:44 AM, Feb 11
  • The missing link

    This post was written when this blog was based on Jekyll before I moved back to WordPress. I have kept it as part of the history of this blog.

    When I moved the blog to Jekyll last year I made several decisions about the posts I would bring across. One of those was to drop several of the post types that I’d added over the years leaving only a normal blog post as the type of content I could post. I hoped that by stripping out all the cruft I would be able to focus more on my own writing and build up more of a routine to posting. Inevitably that hasn’t panned out. There have been times where I’ve posted regularly, but just as I felt like I was getting into some kind of pattern things would happen and I wouldn’t post.

    Of course one thing that has never changed was that I still read articles. In fact this year I’ve focused more on RSS as a means of reading and as a result I’m reading far more than I used too. I’ve also adopted Good Links as my read later app of choice and am developing a reading work flow to help me process what I’m reading. Part of that process involves sharing what I read. So for the same reason I added the ability to share links on my blog many years ago I’ve added that ability to this one. It’s in a state I call earliest usable product like much of this blog is, but I intend to keep improving things continuously over the next few weeks.

    → 10:57 AM, Mar 31
  • RSS
  • JSON Feed