On Rabbit Holes
On Rabbit Holes
by Trevor, 08/10/2018 10:57 PM EDT
There has been a boom in the rabbit population where I live over the last couple of years. When I step out of my car after returning home, I am almost immediately surrounded by cute and fluff.
Well, I've found more fluffy bunnies to pursue in my web design too. Rather than make content to fill out my pages, I've redone a number of internals.
- In place of defining the nav structure in the Pico config file, I modified an existing categories plugin to be compatible with the pagination plugin I used for the blog.
- I created a new plugin to provide data about the contents of the assets folders to the Twig templating engine.
- Added sub-categories to the categorization plugin.
- Re-did the photo albums pages to automatically pull their data from the assets plugin I did.
- Added YAML processing to the assets plugin so that captions for the photos could be stored in the same assets folders.
I also finally added that footer I talked about in the first post. The CSS for that was particularly frustrating to figure out, but only because I'm picky about what I want. Which, of course, is that the footer be at the end of the content or the bottom of the page, whichever is lower. Can't have a proper footer hanging up in the air, now, can we?
See you next time.