Commit graph

7 commits

Author SHA1 Message Date
vvzen b69654d06c feat: Show RSS icon if config enables it
This adds support for showing a tiny RSS svg badge in the top menu in
case the user added a menu_item that looks like this:
`{name = "", url = "$BASE_URL/$FEED_FILENAME"}`

This also requires that the user has a config.toml that contains the
following entries:

generate_feed = true
feed_filename = "rss.xml"
author = "your name here"
2024-08-18 14:36:57 -07:00
Bright Open Jo ef8ff785a4 #14 fix menu 2022-06-24 01:00:23 +02:00
Ivan Petkov b04b1f5951
Add 404 page which fits the rest of the theme
* Noting that (as of 0.14) zola does not pass much of a context when
  rendering the 404 page, so things like current URL/path aren't
  available
* To work around this the `menu` macro has been split into `menu_for`
  which accepts a parameter for which item is active.
* The previous macro continues to work as is, forwarding the results of
  figuring out which item is active to the new `menu_for` macro
* The added 404 page will then use the `menu_for` macro and pass in a
  blank item
2021-12-07 17:25:02 -08:00
Paweł Romanowski a1cbba7796 Improve current menu item detection 2019-02-05 20:32:00 +00:00
Paweł Romanowski 4623287652 Fix relative URL handling for posts 2019-02-05 19:21:59 +00:00
Paweł Romanowski 7653cfed54 Fix relative URL handling 2019-02-05 19:13:23 +00:00
Paweł Romanowski deee53f745 First public release 2019-02-05 18:27:02 +00:00