Commit graph

19 commits

Author SHA1 Message Date
Paweł Romanowski 39d13a9a6a
Merge pull request #53 from AntoniosBarotsis/show-description
Added the option to only show the description (continuation)
2023-12-14 09:05:43 +01:00
Heitor Pascoal de Bittencourt 6af6b597fa
Add OpenGraph support
Add the necessary OpenGraph meta tags to all pages.

Fix https://github.com/pawroman/zola-theme-terminimal/issues/3
2023-11-09 17:43:30 -03:00
Antonios Barotsis 4ce06e1894 Added the option to only show the description
Co-authored-by: Antonios Barotsis <a.barotsis@student.tudelft.nl>
Co-authored-by: Bkeinn <60117033+Bkeinn@users.noreply.github.com>
2023-08-02 21:49:04 +03:00
Paweł Romanowski 6e91e642f6
Merge pull request #35 from heitorPB/autoconfigure-feed-type
Automatically set link to RSS or ATOM feed
2023-06-23 11:49:20 +02:00
Brooke d7f9e84041
Fix: link the top-left logo to logo_home_link
This fix works by adding missing two missing `.extra`'s when accessing the `logo_home_link` in the `header` template block.

The bug is caused by the first missing `.extra`, which makes Tera assume that `logo_home_link` variable doesn't exist, so the `if` trigger for using it never fires. This means that the logo will always link to the default value of `base_url`.

The second missing `.extra` comes after the `if` fires. It's used to set the value of `logo_link` to `logo_home_link`.
2023-05-11 14:27:27 -07:00
Heitor Pascoal de Bittencourt 491d7d061e
Automatically set link to RSS or ATOM feed
Set the <link > type to either `application/rss+xml` or
`application/atom+xml` according to the `feed_filename` from
`config.toml`.
2023-05-04 12:57:57 -03:00
Paweł Romanowski cfbcb940be Add the ability to include page titles in HTML title element 2023-01-28 13:15:03 +01:00
Pablo Martí Gamboa 5e4318ae64
Add extra_body block to index.html
This enables theme users to add HTML snippets to all the pages in the blog (like an analytics snippet).
2022-11-13 07:53:40 +01:00
Pablo Martí Gamboa fe5f5aea01
Render the favicon_mimetype with | safe
Otherwise it will be escaped!
2022-11-10 11:45:04 +01:00
Pablo Martí Gamboa c2ecdad64d
Fix RSS generation
Since https://github.com/getzola/zola/blob/master/CHANGELOG.md#0110-2020-05-25, Zola renamed this option to config.generate_feed
2022-11-10 11:24:49 +01:00
Paweł Romanowski 880b4bdb84
Merge pull request #7 from ipetkov/404
Add 404 page which fits the rest of the theme
2021-12-08 20:36:51 +01:00
Ivan Petkov 3abbf9f7d2
Place the logo body inside of a logo_content block
* This will allow for customizing the logo contents with a template,
  which can be slightly more powerful than a static configuration value
2021-12-07 17:39:39 -08: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 1e013d81e4 Fix URL escapes in hrefs 2019-04-03 19:21:19 +02:00
Paweł Romanowski 01bce4ff04 Add shortcut rel to favicon link 2019-04-03 18:59:34 +02:00
Paweł Romanowski df84c55f4c Add favicon support 2019-04-01 17:25:45 +02:00
Paweł Romanowski 34047623ff Fix theme for Zola 0.6.0 2019-04-01 11:36:41 +02:00
Paweł Romanowski 582749d5e7 Fix typos, change button icons to be sans-serif 2019-02-05 22:13:39 +00:00
Paweł Romanowski deee53f745 First public release 2019-02-05 18:27:02 +00:00