57 Commits

Author SHA1 Message Date
Óscar
39a6750d8b
🐛 fix: support relative paths in inherited social media card (#432) 2024-11-18 00:02:06 +01:00
Ariel Richtman
886aa59545
feat: add fediverse creator metadata support (#409)
Add `fediverse_creator` variable to highlight author's fediverse profile in Mastodon link previews.

Co-authored-by: Ariel Richtman <Ariel.Richtman@SilverRailTech.com>
Co-authored-by: welpo <welpo@users.noreply.github.com>
2024-10-10 14:53:39 +02:00
Óscar
24896a5f77
🐛 fix(header): render feed links based on config (#358) 2024-07-24 19:33:26 +02:00
welpo
22925caf06
🐛 fix: allow quotation in page summary
Quotation marks were being escaped, as the `safe` filter was not being used.
2024-05-30 14:12:44 +02:00
welpo
5e0cbdd67d
feat: allow disabling CSP, following the hierarchy
Introduces new option `enable_csp`, true by default.
Can be set on a page, section or globally.
2024-03-15 15:04:37 +01:00
Óscar
906bc9dec0
feat: add search functionality (#250) 2024-01-08 01:00:52 +01:00
welpo
08ef628abe
💄 style(favicon): reduce emoji size for compatibility
Should look better on Windows (not cropped).
2023-12-12 02:15:55 +01:00
welpo
1221eeeb41
🐛 fix(header): add quotes to custom subset links 2023-11-23 00:58:27 +01:00
welpo
94f7a36707
🐛 fix(header): correct self-closing script tag 2023-11-23 00:52:45 +01:00
welpo
130aa51144
feat(header): cachebust custom font subset
It's likely to change on different builds.
2023-11-21 23:41:58 +01:00
welpo
a57eb98a69
♻️ refactor(header): replace single %22 by "
Single quotation marks already escape the double ones.
2023-11-21 23:35:17 +01:00
welpo
3e30557dca
🐛 fix(skins): load teal if set in config 2023-10-28 21:24:28 +02:00
welpo
6673a063b8
🐛 fix: remove unnecessary description filters
It caused issues if description contained double quotes.
2023-10-23 02:11:57 +02:00
welpo
5458b1c533
🎨 style: fix whitespace issues 2023-10-07 23:31:59 +02:00
Óscar Fernández
228f1ea6e5
feat: support privacy-respecting analytics (#193) 2023-10-04 15:01:54 +02:00
Donovan Glover
fd1c50af11
feat(SEO): Add description support for sections (#179) 2023-09-29 20:24:51 +02:00
Donovan Glover
342a62c76e
♻️ refactor(HTML): remove X-UA-Compatible (#177) 2023-09-25 14:39:27 +02:00
Óscar Fernández Vázquez
88cc68f4a0
feat(header): add support for canonical URLs (#168) 2023-09-18 22:11:00 +02:00
Óscar
049babbd97
feat(social-media-cards): support relative paths (#163) 2023-09-17 13:36:18 +02:00
welpo
465bc55b9a
feat(header): support multilingual meta tags in sections
Builds upon #154.
2023-09-14 01:04:05 +02:00
Óscar
78c0f712c1
🔍️ feat: enhance SEO and accessibility with meta tags (#154) 2023-09-14 00:38:24 +02:00
Óscar
14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 2023-09-12 21:28:33 +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
355df550fc
🐛 fix: allow live reload when zola is in serve mode (#144) 2023-09-09 22:50:53 +02:00
Óscar
772ca29dcd
feat: add browser_theme_color config option (#143) 2023-09-09 19:48:53 +02:00
Xavier Vello
c79407e6d7
🐛 fix(header): don't fail if custom_subset absent (#132) 2023-09-09 12:10:18 +02:00
welpo
22579a5974
feat(social-media-cards): add support for twitter:image
Related PR: #130
2023-09-06 18:49:37 +02:00
Óscar
d53b8470a6
feat: add support for social media cards (#130) 2023-09-06 13:38:52 +02:00
welpo
ab4b523f9c
🐛 fix(favicon): use get_url for favicon 2023-09-01 23:50:52 +02:00
welpo
0c87f6513b
💄 style(meta): add "…" when using summary with <!-- more -->
Removes trailing periods, if they exist, before adding "…".

Partially reverts f03a9b3.
2023-08-31 03:34:33 +02:00
welpo
7d8ed20c24
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
2023-08-28 18:24:40 +02:00
Óscar
fac730efad
feat(config): add dynamic stylesheet loading (#118) 2023-08-26 15:07:21 +02:00
Óscar
f8cce3001c
feat: introduce skins to customise the theme (#105) 2023-08-10 13:21:52 +02:00
welpo
2f83ef8062
️ feat: add cachebust for main.css 2023-08-09 18:53:45 +02:00
welpo
638d75c819
🐛 fix: set proper color-scheme meta 2023-08-09 18:45:16 +02:00
welpo
ab879e3727
🐛 fix: remove extra newlines in final html 2023-08-07 00:12:00 +02:00
welpo
113a7f4e5d
feat(theme-switcher): hide button if JS is disabled 2023-08-03 00:12:00 +02:00
welpo
9a98789922
feat: add support for Isso comments 2023-07-26 01:47:26 +02:00
welpo
4b43229d0a
🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
welpo
7924e8206c
feat: add support for Hyvor Talk comments 2023-07-17 20:10:18 +02:00
welpo
3e215e18e2
🐛 fix: use proper meta descriptions 2023-07-14 21:20:22 +02:00
welpo
19d120019b
feat: add support for giscus & utterances comments 2023-07-12 18:44:28 +02:00
welpo
93c8b577b8
🚧 feat: add utterances support 2023-07-10 21:42:21 +02:00
welpo
2dec139e41
feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
welpo
fb061a1469
feat: allow using emojis as favicon 🌱 2023-05-25 14:31:03 +02:00
welpo
a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2023-04-29 15:11:13 +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
dceceff5fd
♻️ refactor: improve spacing and indentation 2023-03-06 00:20:31 +01:00
welpo
54ae781352
🔒️ fix: prevent malformed CSP header 2023-02-23 01:35:06 +01:00
welpo
9ac150423b
♻️ refactor: remove unused set_title argument 2023-02-22 23:33:45 +01:00