<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-AU">
  <id>https://david.gardiner.net.au/tags/Jekyll.xml</id>
  <title type="html">David Gardiner - Jekyll</title>
  <updated>2026-05-19T00:35:57.925Z</updated>
  <subtitle>Blog posts tagged with &apos;Jekyll&apos; - A blog of software development, .NET and other interesting things</subtitle>
  <rights>Copyright 2026 David Gardiner</rights>
  <icon>https://www.gravatar.com/avatar/37edf2567185071646d62ba28b868fab?s=64</icon>
  <logo>https://www.gravatar.com/avatar/37edf2567185071646d62ba28b868fab?s=256</logo>
  <generator uri="https://github.com/flcdrg/astrojs-atom" version="3">astrojs-atom</generator>
  <author>
    <name>David Gardiner</name>
  </author>
  <link href="https://david.gardiner.net.au/tags/Jekyll.xml" rel="self" type="application/atom+xml"/>
  <link href="https://david.gardiner.net.au/tags/Jekyll" rel="alternate" type="text/html" hreflang="en-AU"/>
  <category term="Jekyll"/>
  <category term="Software Development"/>
  <entry>
    <id>https://david.gardiner.net.au/2020/04/wsl2-and-jekyll</id>
    <updated>2020-04-28T09:00:00.000+09:30</updated>
    <title>Upgrading WSL2 to Ubuntu 20.04 and running Jekyll</title>
    <link href="https://david.gardiner.net.au/2020/04/wsl2-and-jekyll" rel="alternate" type="text/html" title="Upgrading WSL2 to Ubuntu 20.04 and running Jekyll"/>
    <category term="Jekyll"/>
    <category term="WSL2"/>
    <published>2020-04-28T09:00:00.000+09:30</published>
    <summary type="html">Ubuntu LTS 20.04 just came out, and you can either install into WSL2 from the Windows Store, or if you already had Ubuntu for WSL then you can upgrade that in place using sudo do-release-upgrade -d.</summary>
    <content type="html">
&lt;p&gt;Ubuntu LTS 20.04 just came out, and you can either install into WSL2 from the Windows Store, or if you already had Ubuntu for WSL then you can &lt;a href=&quot;https://discourse.ubuntu.com/t/how-you-can-help-test-ubuntu-20-04-lts-on-wsl/15211&quot;&gt;upgrade that in place&lt;/a&gt; using &lt;code&gt;sudo do-release-upgrade -d&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;There&apos;s a few confirmation prompts along the way. Eventually you&apos;ll get to a point where it wants to reboot. The trouble is if you try &lt;code&gt;sudo reboot&lt;/code&gt; it will complain that you&apos;re not running systemd and give up.&lt;/p&gt;
&lt;p&gt;The solution is to jump back to Windows and run &lt;code&gt;wsl --shutdown&lt;/code&gt;, then relaunch Ubuntu and it should be happy.&lt;/p&gt;
&lt;h2&gt;Jekyll&lt;/h2&gt;
&lt;p&gt;Having a freshly upgraded install of Ubuntu, I thought it was time I got a local copy of Jekyll so I could preview my blog posts.&lt;/p&gt;
&lt;p&gt;To ensure that I&apos;m using the same Gems that GitHub Pages use, I updated my Gemfile to just reference the &lt;a href=&quot;https://jekyllrb.com/docs/github-pages/&quot;&gt;github-pages&lt;/a&gt; gem.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;source &apos;https://rubygems.org&apos;

gem &apos;github-pages&apos;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And then install Jekyll prerequisites:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install ruby-full -y
sudo apt-get install build-essential dh-autoreconf -y
sudo apt install zlibc -y
sudo apt install libxml2-dev -y
sudo apt install libxslt-dev -y
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Tell Ruby to &lt;a href=&quot;https://stackoverflow.com/questions/37720892/you-dont-have-write-permissions-for-the-var-lib-gems-2-3-0-directory/50361633&quot;&gt;install Gems locally&lt;/a&gt; (so we don&apos;t need sudo)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;echo &apos;export GEM_HOME=~/.ruby/&apos; &amp;gt;&amp;gt; ~/.bashrc
echo &apos;export PATH=&quot;$PATH:~/.ruby/bin&quot;&apos; &amp;gt;&amp;gt; ~/.bashrc
source ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;gem update

gem install pkg-config -v &quot;~&amp;gt; 1.1&quot;
gem install nokogiri -- --use-system-libraries

bundle install
&lt;/code&gt;&lt;/pre&gt;
</content>
  </entry>
  <entry>
    <id>https://david.gardiner.net.au/2019/06/migrating-from-blogger</id>
    <updated>2019-06-11T08:00:00.000+09:30</updated>
    <title>Migrating from Blogger to Jekyll and GitHub Pages</title>
    <link href="https://david.gardiner.net.au/2019/06/migrating-from-blogger" rel="alternate" type="text/html" title="Migrating from Blogger to Jekyll and GitHub Pages"/>
    <category term="Blogging"/>
    <category term="Jekyll"/>
    <category term="GitHub"/>
    <published>2019-06-11T08:00:00.000+09:30</published>
    <summary type="html">I&apos;ve been in a bit of a blogging slump the last few months.</summary>
    <content type="html">&lt;p&gt;I&apos;ve been in a bit of a blogging slump the last few months. Partly because I&apos;ve been particularly busy, but also I&apos;ve been a bit frustrated with Blogger. I used Windows Live Writer (later Open Live Writer), but sadly after all the effort to make it open-source, the project has kind of floundered with no one apparently leading the project now.&lt;/p&gt;
&lt;p&gt;So what to do? Well maybe it&apos;s time to move to a different platform. I&apos;d see a few people with their blogs on GitHub, and after a bit of research I settled on using Jekyll with GitHub pages.&lt;/p&gt;
&lt;h2&gt;How I migrated from Blogger&lt;/h2&gt;
&lt;p&gt;I followed this useful checklist - &lt;a href=&quot;https://thefriendlytester.co.uk/2017/07/blogger-to-jekyll-migration-timeline&quot;&gt;https://thefriendlytester.co.uk/2017/07/blogger-to-jekyll-migration-timeline&lt;/a&gt;. Note that the &lt;code&gt;jekyll-importer&lt;/code&gt; does &lt;em&gt;not&lt;/em&gt; convert Blogger content to Markdown (that had me confused for a few hours).&lt;/p&gt;
&lt;p&gt;I stuck with the same URL format for posts, so that should mean no broken links.&lt;/p&gt;
&lt;p&gt;I made use of Windows Subsystem for Linux to run Jekyll locally (as I&apos;d read it wasn&apos;t so easy to get running natively on Windows). See below for more details of getting that all running.&lt;/p&gt;
&lt;p&gt;Update Cloudflare to point to flcdrg.github.io - &lt;a href=&quot;https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/&quot;&gt;https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Update FeedBurner settings to point to new source RSS feed.&lt;/p&gt;
&lt;h2&gt;What I forgot&lt;/h2&gt;
&lt;p&gt;I use dlvr.it to post to Twitter about new blog posts. I should have disabled that as it got confused by the change and thought I&apos;d posted some new articles.&lt;/p&gt;
&lt;h2&gt;Still to do&lt;/h2&gt;
&lt;p&gt;The Blogger migration only copied text. Images are still living in their original locations. It would be good to migrate them over too.&lt;/p&gt;
&lt;p&gt;My old blog had a nice Archive/history listing. I&apos;ve started looking at Jekyll equivalents, but not found one that&apos;s similar yet.&lt;/p&gt;
&lt;h2&gt;Getting Jekyll running on WSL&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;sudo apt update
sudo apt upgrade
sudo apt install ruby
sudo apt install ruby-dev
sudo apt install make gcc
sudo apt install g++
sudo apt install zlibc
sudo gem install pkg-config -v &quot;~&amp;gt; 1.1&quot;
sudo apt install libxml2-dev
sudo apt install libxslt-dev
sudo gem install nokogiri -- --use-system-libraries
sudo gem install jekyll-import
sudo gem install jekyll
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With my locally cloned Git repo at &lt;code&gt;C:\dev\git\flcdrg.github.io&lt;/code&gt; in Windows, in WSL I could change to the equivalent path at &lt;code&gt;/mnt/c/dev/git/&lt;/code&gt;flcdrg.github.io, and then run &lt;code&gt;jekyll server&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Anything else?&lt;/h2&gt;
&lt;p&gt;Let me know in the comments if something is broken that used to work!&lt;/p&gt;
</content>
  </entry>
</feed>
