Spica Jekyll documentation
Updating Spica
Get new versions of Spica and keep your content safe while you update.
Updates are free for buyers. When a new version is released, download it again from the link in your purchase email or from your Lemon Squeezy orders. See also the general updates guide.
Before you update
Commit your project to Git, or copy the whole folder somewhere safe.
If you changed content and settings only
Your own work lives in a few places:
_config.yml_posts/and_projects/category/about.md, and the text at the top (the front matter) ofcontact.html,projects.html,archive.html,tags.htmlandelements.mdif you changed them_data/strings.ymlassets/img/,assets/favicon.svgand any font you changed inassets/fonts/_includes/css/custom.cssand_includes/custom-head.htmlwrangler.jsonc, if you changed its name or domain
The rest is the theme: the layouts, the other files in _includes/, the rest of the CSS, _data/css.yml, assets/css/style.css and the icons you didn’t add.
- Unzip the new version into a new folder.
- Copy those files and folders from your project into it, replacing the samples.
- Run
bundle install, thenbundle exec jekyll serve, and check everything looks right. - Read
CHANGELOG.mdand the release notes. If_config.ymlgained a new setting or_data/strings.ymla new word, add it to your copy.
If you changed the design
Compare your changed files with the new version and copy your changes across. In VS Code, select two files in the explorer, right-click and choose Compare Selected. Rules in _includes/css/custom.css are the easiest to carry over, because theme updates never touch that file, so put your design changes there rather than in theme.css or scale.css where you can.
Updating Jekyll
The Gemfile uses the github-pages gem, which pins the gem set GitHub Pages runs. To keep your site matching it, update when we release a new version of Spica. If you only want newer gems, run bundle update, then bundle exec jekyll build and check the site.