30 Commits

Author SHA1 Message Date
Óscar
fdb63c8cb6
🐛 fix(footer): show feed icon on Zola 0.19.0 (#336) 2024-06-22 00:13:32 +02:00
welpo
aef49bb225
🐛 fix(footer): allow showing only email/feed icons
Fixes #312
2024-05-15 13:28:32 +02:00
Óscar
906bc9dec0
feat: add search functionality (#250) 2024-01-08 01:00:52 +01:00
ZzMzaw
b6fa54c556
feat(copyright): set copyright translations outside toml files & enhance $VARs (#215)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2023-11-05 21:20:21 +01:00
Joberth Rogers
de91dfb0a7
🐛 fix(footer): fix external link redirection in footer (#219)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2023-10-31 13:29:09 +01:00
Óscar Fernández
1bc52944c9
feat(footer): add configurable footer menu (#197) 2023-10-05 14:20:34 +02:00
Óscar
32a2d5094b
🌐 feat(i18n): overhaul translation system & add languages (#145)
Revamp the existing translation system, simplifying
management and adding several new languages. The new system reads from
TOML files in the `/i18n` directory and improves template structures.
It also enhances customisation options and robustness by providing
fallbacks and modularity.

- Implement a new, streamlined translation macro.
- Load translations from `/i18n` TOML files.
- Remove redundant configuration requirements.
- Refactor templates to align with new i18n system.
- Add support for Hindi, Japanese, Russian, Portuguese, Chinese,
  Italian, German, Ukranian, Korean, and French languages.
- Credit Thomas Weitzel (@thomasweitzel) for inspiration.
2023-09-12 18:58:58 +02:00
Óscar
78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2023-09-01 23:29:11 +02:00
Óscar
f61c9ec309
feat(settings): add hierarchy-based setting overrides (#128) 2023-09-01 14:03:37 +02:00
Óscar
b73f7f5d93
feat(HTML): respect external_links_… config (#126) 2023-08-30 01:38:27 +02:00
welpo
f1edbba8bd
feat(footer/copyright): replace "$SEPARATOR" to separator
Expands on #112
2023-08-19 01:26:27 +02:00
welpo
12b9184f15
🐛fix(footer): remove extra space between "tabi" and separator 2023-08-18 23:28:32 +02:00
Óscar
5ae21b5335
feat(footer): add configurable copyright notice (#112) 2023-08-18 23:12:39 +02:00
welpo
99f6f2dcdc
feat(footer): add link to remote repository
Adds two options, both defaulting to true if the remote repo URL is set:
* `show_remote_changes`: links the commit history of a post next to the updated date. (#109)
* `show_remote_source`: links to the site's repository on the footer.
2023-08-18 21:46:37 +02:00
welpo
427ffc7241
feat(footer/socials): add base64 encoded email protection 2023-08-18 18:39:24 +02:00
welpo
d0babd5db1
♻️ refactor: use get_url for social icons 2023-08-17 21:03:41 +02:00
welpo
4952ce88f1
feat: add rel=me attribute to social links
http://microformats.org/wiki/rel-me
2023-08-11 01:55:46 +02:00
welpo
f9c18b0398
feat: optional trailing slash in menu links
Enabled by default.

Drops the `$BASE_URL` transformation to avoid confusion (#99).
2023-08-01 14:11:05 +02:00
welpo
0b02e727e0
💄 style: rename "atom/rss feed" to "feed" 2023-06-23 01:51:17 +02:00
welpo
56a3061573
🐛 fix: proper URL for multilingual rss/atom feeds 2023-06-05 23:48:34 +02:00
welpo
fa9229377d
feat: add multi-language support 2023-05-22 19:12:03 +02:00
welpo
1efb0330e3
🐛 fix: remove flash when navigating in dark-mode
The `initialize-theme.js` script takes care of the following:

  1. If there is a stored theme value in the localStorage, set the theme
 based on that value.
  2. If there is no stored theme value, check the  user's system
  preference (dark or light) and set the theme accordingly.

The new `main.js` takes care of the actual theme switching and listening
to system preference changes (if the user has not manually set a theme).

Now the icons are stored in CSS, and are set according to the current
theme. This allows for having different icons that dynamically switch.

Additionally, wraps social and navigation elements in ul/li.

Fixes #76
2023-04-28 16:20:42 +02:00
welpo
556570d799
🐛 fix: only load script when themeswitcher is enabled 2023-04-27 23:45:58 +02:00
welpo
b7c89753ec
💄 style: smaller socials; add Zola & tabi mention 2023-03-08 00:01:23 +01:00
welpo
dceceff5fd
♻️ refactor: improve spacing and indentation 2023-03-06 00:20:31 +01:00
welpo
cd2ab356be
💄 style: redesign post listing and other minor changes 2023-03-05 19:58:19 +01:00
welpo
095b9d0d07 🐛 fix: add end-of-file newline 2023-02-06 02:20:56 +01:00
welpo
339f818cfb 🐛 fix: remove duplicate social images; allow relative paths in socials
- Remove duplicate files in social_icons folder
- Allow relative paths in socials section (footer)
- Add more socials in default config
2023-02-04 12:56:55 +01:00
welpo
049df81d6c 🐛 fix: allow for relative paths everywhere
Allows hosting the page on subdirectories.
2023-02-03 19:05:28 +01:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00