--- layout: page title: Devlog date: 2025-01-22 permalink: devlog --- Starting the theme by modifying some of the old code I had set up in the old Github repo last year. Defining the CSS variables for the theme. Leaving myself a reminder to support Jekyll tags first, then categories. I don't like how Jekyll embeds code blocks surrounded by Liquid tags within a `
` element, so I've removed support for it, as figure elements are being used for images with captions. Added monokai theme for code blocks, and moved some navigation elements around. Still have to rethink footnotes. Now I'm working on installing a local version of the gem after pushing it to Github. I guess first I should update the links. Note: To include default index.md, posts.md, and devlog.md, I had to update the `spec.files` line to this: ```ruby spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_data|_layouts|_includes|_sass|LICENSE|README|_config\.yml|Devlog\.md|index\.md|posts\.md)!i) } ``` **Update**: These files are not automatically included, so I will make sure to note that in the README.md ## Building Gem ```shell $ gem build Arrow.gemspec ``` ## Installing locally for testing ```shell $ gem install ./arrow-jekyll-theme-0.1.0.gem ``` ## Removing local gem ```shell $ gem uninstall arrow-jekyll-theme ``` ## Installing on new blog After creating a new site (possibly with `$ jekyll new site-name`), update the `_config.yml` file with this line: ```yaml theme: arrow-jekyll-theme ``` Also update your Gemfile: ```ruby gem "arrow-jekyll-theme" ``` And then execute: ```shell $ bundle install ``` ## Finding where gem was installed ```shell $ bundle info arrow-jekyll-theme ``` ## Build Your Site ```shell $ bundle exec jekyll serve ``` I just published the gem to RubyGems [here](https://rubygems.org/gems/arrow-jekyll-theme) I just noticed I forgot to update the link to the RSS feed. Fixing and pushing an update right now.