Skip to content

Version 2.1.0

Compare
Choose a tag to compare
@Jieiku Jieiku released this 25 Aug 20:29
· 113 commits to master since this release

Fixes following the Refactor and PWA release.

  • Huge Refactor of Documentation
  • Added CSS Variable for color-scheme property, this allows Google Chrome scrollbars to match the rest of the color theme. #136
  • incremented sw_load.js to invalidate existing cache, so that new version is installed once TTL on pages expires (1day by default)
  • further optimized images with pngquant, oxipng, leanify
  • improved spacing in table of contents page Index.
  • improved accessibility on links. (links are a tad heavier font weight now.)
  • created showdata shortcode. currently I am only using it to fetch the required Zola version
  • simplified loading of javascript files, this makes it easy to entirely disable javascript
  • fix for same path images on the img and imgswap shortcodes, bug introduced recently when fixing get_image_metadata() parameters.
  • fix path for PWA npm script cachebust.
  • If you installed the site as a PWA using firefox on android, then immediately turned off your network, the pwa app would be missing styling and some js files, this is because of the cachebust hash, those hashes needed to be part of the filename in the service workers base cache file list. I implemented this fix through the npm script that I wrote (which netlify runs every depoly) Now the site/app looks correct immediately after install, even without internet.
  • disabled Categories taxonomy by default by commenting it out in config.toml, it still works, just disabled by default. I find it easier to just make your first added tag the category. Most of the time Categories are unnecessary unless you need strict separation from two types of posts. For example maybe you Run a Blog, and on that blog you cover 2 topics, Monster Trucks and Food. it might be a good idea to have these in separate categories... but if you find your Categories are little more than a primary Tag... then just use tags in my opinion. it makes the site lighter, and build faster.