Commit graph

98 commits

Author SHA1 Message Date
Paweł Romanowski
7f630a4e31
Merge pull request #73 from pawroman/tweak-config-for-new-rss
Tweak default config to follow RSS generation changes after Zola 0.19
2024-08-17 17:49:29 +02:00
Paweł Romanowski
26ab720d51 Tweak default config to reflect changes in RSS generation after Zola 0.19 changes 2024-08-17 17:48:30 +02:00
Paweł Romanowski
dbef3fa69a
Merge pull request #71 from heitorPB/feeds
templates/index: fix broken RSS/ATOM feed rel links
2024-08-17 17:34:32 +02:00
Heitor Pascoal de Bittencourt
d0bb9da1d1
templates/index: fix broken RSS/ATOM feed rel links
Zola 0.19.0 changed the config options related to RSS/ATOM feed
generation, allowing multiple feeds at once. This patch addresses this
change and adds as many links in the HTML head as there are feeds.

Fix #64
2024-08-12 16:36:10 -03:00
Paweł Romanowski
c620187811
Merge pull request #60 from heitorPB/trailing-slash
tag page: add / to "all tags" link
2024-06-08 01:12:06 +02:00
Paweł Romanowski
74521c02b5
Merge pull request #61 from rukai/fix_post_view_navigation
Fix postview navigation
2024-06-05 19:53:29 +02:00
Lucas Kent
cf114ec7e2 Fix postview navigation 2024-05-04 12:20:58 +10:00
Heitor Pascoal de Bittencourt
4be31aa151
tag page: add / to "all tags" link
This is to improve Google indexing pages, for the /tags/ page. In GitHub
Pages, the URL /tags does not exist per se, but is a redirect to /tags/.
Google Crawler gets confused with 301 HTTP status and does not index it.
2024-03-05 09:29:16 -03:00
Paweł Romanowski
0ced77898f
Merge pull request #59 from heitorPB/async-lazy-images
shortcodes: use async and lazy for images.
2024-02-13 21:11:03 +01:00
Heitor Pascoal de Bittencourt
bef4cc9020
shortcodes: use async and lazy for images.
Zola v0.18 added an option to set all images with `decoding=async` and
`load=lazy`, but this only applies to `<img>` tags generated from
Markdown `![]()` syntax. This patch adds these attributes by default to
`figure` and `image` macros.
2024-02-06 15:31:27 -03:00
Paweł Romanowski
03ce85ecba
Merge pull request #58 from pawroman/2023-12-fixes
Fix `show_only_description` breaking page rendering
2023-12-27 12:07:36 +01:00
Paweł Romanowski
d22b1e5a9e Mention Markdown support in figure captions 2023-12-18 21:26:15 +01:00
Paweł Romanowski
964fffab09 Fix show_only_description not to break page content 2023-12-18 21:22:33 +01:00
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
Paweł Romanowski
331b8aaeed
Merge pull request #56 from heitorPB/opengraph
Opengraph
2023-12-14 09:03:33 +01:00
Heitor Pascoal de Bittencourt
207f0c33ea
Fix path for colocated image 2023-11-16 20:29:42 -03:00
Heitor Pascoal de Bittencourt
c99f284681
Improve tag description in OpenGraph metatags 2023-11-10 17:22:33 -03: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
194735baa3 Include show_only_description in docs 2023-08-02 21:53:12 +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
Heitor Pascoal de Bittencourt
a9969735db
Allow markdown in caption of figures 2023-07-31 13:27:33 -03:00
Paweł Romanowski
910e50b824
Merge pull request #45 from lynnpepin/light-themes
feat: Added a light version and an automatic (light/dark) version for…
2023-06-23 11:50:59 +02: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
lynn pepin
2b55b768ac fix: Missing semicolon in border color for green-auto.scss 2023-06-22 17:31:43 -04:00
lynn pepin
4f96dd4da5 fix: Fix default color in config.toml and examples 2023-06-22 17:29:54 -04:00
Heitor Pascoal de Bittencourt
a5e119ec7b
Add note about the feeds in the theme's config.toml 2023-06-22 13:10:37 -03:00
Paweł Romanowski
a1ed25286f
Merge pull request #50 from pawroman/version-info
Update README.md with information on Semantic Versioning and releases
2023-06-22 10:07:34 +02:00
Paweł Romanowski
4798166e69 Update README.md with information on Semantic Versioning and releases 2023-06-22 10:06:32 +02:00
Paweł Romanowski
23f66764c5
Merge pull request #49 from djanda97/44-config-extra-page-titles
Check if page_titles exists in config.toml
2023-06-22 09:40:17 +02:00
David Janda
fe3dc232d8 Check if page_titles exists in config.toml 2023-06-21 17:51:01 -07:00
lynn pepin
c365a2373e feat: Added a light version and an automatic (light/dark) version for each theme 2023-06-16 14:21:29 -04:00
Paweł Romanowski
07b99b9758
Merge pull request #41 from urlordjames/master
properly center figures
2023-05-22 09:18:40 +02:00
urlordjames
1868c3063c resolve pawroman/zola-theme-terminimal#40 2023-05-20 13:58:55 -04: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
Paweł Romanowski
eae22964a8
Merge pull request #39 from goingforbrooke/patch-3
Fix: link the top-left logo to `logo_home_link` when `logo_home_link` is set
2023-05-16 12:02:23 +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
Paweł Romanowski
9347dda144
Merge pull request #34 from heitorPB/order-tags-alphabetically
macros:post: sort tags alphabetically
2023-04-24 09:49:21 +02: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
8f549fea12
Merge pull request #31 from dym-sh/master
fix missing commas
2023-03-21 10:22:13 +01:00
Dym Sohin
79cc6e82f9 fix missing commas 2023-03-21 06:10:05 +01:00
Paweł Romanowski
0ec1aed81a
Merge pull request #27 from pawroman/page_titles
Add the ability to include page titles in HTML title element
2023-01-28 13:15:49 +01:00
Paweł Romanowski
cfbcb940be Add the ability to include page titles in HTML title element 2023-01-28 13:15:03 +01:00
Paweł Romanowski
eb82877d3d
Merge pull request #25 from pablogamboa/patch-1
Add extra_body block to index.html
2022-11-14 10:45:08 +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