Commit graph

64 commits

Author SHA1 Message Date
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
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
Paweł Romanowski
d8565d716c
Merge pull request #19 from BrightOpen/master
#14 fix menu
2022-11-10 11:44:16 +01:00
Paweł Romanowski
771ecca142
Merge pull request #22 from pablogamboa/patch-1
Fix RSS generation
2022-11-10 11:37:17 +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
0cc423545a A few cleanups 2022-05-11 09:38:41 +02:00
Paweł Romanowski
a00d5580eb Remove travis link 2022-05-11 09:25:58 +02:00
Paweł Romanowski
bfa2850eef
Merge pull request #18 from pawroman/spring-clean
Fix code highlighting config
2022-05-11 09:11:03 +02:00
Paweł Romanowski
ee7c81cd2d Fix code highlighting config 2022-05-11 09:08:13 +02:00
Paweł Romanowski
303d774579
Merge pull request #17 from pawroman/spring-clean
Add nested bullet list to showcase
2022-05-11 09:02:44 +02:00
Paweł Romanowski
0e63eea714 Add nested bullet list to showcase 2022-05-11 09:02:01 +02:00
Paweł Romanowski
a39490cf7f
Merge pull request #16 from pawroman/spring-clean
Spring clean: Replace travis with GitHub actions, pull one fix
2022-05-11 08:55:08 +02:00
Paweł Romanowski
33eeb32825 Add GitHub actions pages publish 2022-05-11 08:53:20 +02:00
Paweł Romanowski
c442ebca44 Fix whitespace 2022-05-11 08:48:52 +02:00
Vincent Loupmon
b5a92ce082 Fix .posts overflowing .content 2022-05-11 08:48:21 +02:00
Paweł Romanowski
6d836356e4 Remove travis 2022-05-11 08:48:18 +02:00
Paweł Romanowski
001a2d9748
Merge pull request #8 from WaffleLapkin/backport-fix-of-weird-margin
Fixes #5
2021-12-10 14:11:53 +01:00
Waffle
8e6002bc1c Remove weird margin from nested lists
(cherry picked from commit aebe84ddac7868e614f25a5837ce59c3794eeb4f)
2021-12-10 15:40:02 +03: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
Paweł Romanowski
9297dc3020
Merge pull request #6 from ipetkov/logo
Place the logo body inside of a `logo_content` block
2021-12-08 09:13:13 +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
f37c65c951 Attempt to fix travis build 2020-07-14 09:20:58 +02:00
Paweł Romanowski
4af9665d75 Fix code style for Zola 0.11
It looks like Zola changed the structure for code fragments,
wrapping them in `code` tag.  Factor this in in theme styles
so that it renders OK.
2020-07-13 23:19:30 +02: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
a04ddb851c Fix README link 2019-04-01 17:27:41 +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
4848ae1c72 Fix README 2019-02-06 13:45:44 +00:00
Paweł Romanowski
6024554bb3 Clarify config option in README 2019-02-05 22:26:00 +00:00
Paweł Romanowski
20ca6e98a6 Fix icons by using full Hack font 2019-02-05 22:24:41 +00:00
Paweł Romanowski
582749d5e7 Fix typos, change button icons to be sans-serif 2019-02-05 22:13:39 +00:00