Commit graph

33 commits

Author SHA1 Message Date
Heitor Pascoal de Bittencourt
a9969735db
Allow markdown in caption of figures 2023-07-31 13:27:33 -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
David Janda
fe3dc232d8 Check if page_titles exists in config.toml 2023-06-21 17:51:01 -07:00
Paweł Romanowski
9f79a41208
Merge pull request #37 from goingforbrooke/patch-2
Fix: shortcode images don't load after build
2023-05-16 12:03:40 +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
Brooke
f8026666f3
Fix: shortcode images don't load after build
This fixes an issue where images added with the [`image` shortcode](https://github.com/pawroman/zola-theme-terminimal#image) are visible via `zola serve` but not `zola build`.

It works by [prepending](https://tera.netlify.app/docs#concatenation) the site's base URL to external image URLs so `https://www.awesomesite.com/flower.png` is just as valid as `http://127.0.0.1:1111/flower.png`.

External images are differentiated from internal images by the presence of `http` at the beginning of their URL.

Fixes issue #36.
2023-05-10 21:21:49 -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
Heitor Pascoal de Bittencourt
b1148b47ef
macros:post: sort tags alphabetically
Sort tags alphabetically before displaying them.
2023-04-23 17:17:03 -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
Paweł Romanowski
40afc1f6c7
Merge pull request #23 from pablogamboa/patch-2
Render the favicon_mimetype with `| safe`
2022-11-10 11:55:42 +01:00
Paweł Romanowski
c06e9232db
Merge pull request #24 from pawroman/fix-navigation-for-zola-0.16
Fix post navigation for Zola 0.16
2022-11-10 11:54:39 +01:00
Paweł Romanowski
df24472ca3 Fix post navigation for Zola 0.16 2022-11-10 11:53:45 +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
Paweł Romanowski
d8565d716c
Merge pull request #19 from BrightOpen/master
#14 fix menu
2022-11-10 11:44:16 +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
Bright Open Jo
ef8ff785a4 #14 fix menu 2022-06-24 01:00:23 +02: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
5cd633f92b
Make 404 content configurable 2021-12-08 09:41:07 -08: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
0577f22e54 Skip draft pages in archive 2019-03-02 11:49:42 +00:00
Paweł Romanowski
582749d5e7 Fix typos, change button icons to be sans-serif 2019-02-05 22:13:39 +00:00
Paweł Romanowski
8688b5b87f Attempt to fix iOS emoji problem 2019-02-05 21:00:19 +00:00
Paweł Romanowski
a1cbba7796 Improve current menu item detection 2019-02-05 20:32:00 +00:00
Paweł Romanowski
9f26ec2814 Fix tag view page 2019-02-05 19:36:13 +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