60 Commits (main)

Author SHA1 Message Date
Stephen Kershaw e519864543
🔒️ fix(CSP): improve CSP coverage (#471) 4 weeks ago
Niels Gouman 36ff72b318
🐛 fix: remove `nofollow` robots meta tag (#465) 1 month ago
Niels Gouman 799f3c0681
feat: support disabling header font-subset (#458)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 month ago
Óscar 39a6750d8b
🐛 fix: support relative paths in inherited social media card (#432) 3 months ago
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>
5 months ago
Óscar 24896a5f77
🐛 fix(header): render feed links based on config (#358) 7 months ago
welpo 22925caf06
🐛 fix: allow quotation in page summary
Quotation marks were being escaped, as the `safe` filter was not being used.
9 months ago
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.
12 months ago
Óscar 906bc9dec0
feat: add search functionality (#250) 1 year ago
welpo 08ef628abe
💄 style(favicon): reduce emoji size for compatibility
Should look better on Windows (not cropped).
1 year ago
welpo 1221eeeb41
🐛 fix(header): add quotes to custom subset links 1 year ago
welpo 94f7a36707
🐛 fix(header): correct self-closing script tag 1 year ago
welpo 130aa51144
feat(header): cachebust custom font subset
It's likely to change on different builds.
1 year ago
welpo a57eb98a69
♻️ refactor(header): replace single %22 by `"`
Single quotation marks already escape the double ones.
1 year ago
welpo 3e30557dca
🐛 fix(skins): load `teal` if set in config 1 year ago
welpo 6673a063b8
🐛 fix: remove unnecessary description filters
It caused issues if description contained double quotes.
1 year ago
welpo 5458b1c533
🎨 style: fix whitespace issues 1 year ago
Óscar Fernández 228f1ea6e5
feat: support privacy-respecting analytics (#193) 1 year ago
Donovan Glover fd1c50af11
feat(SEO): Add description support for sections (#179) 1 year ago
Donovan Glover 342a62c76e
♻️ refactor(HTML): remove X-UA-Compatible (#177) 1 year ago
Óscar Fernández Vázquez 88cc68f4a0
feat(header): add support for canonical URLs (#168) 1 year ago
Óscar 049babbd97
feat(social-media-cards): support relative paths (#163) 1 year ago
welpo 465bc55b9a
feat(header): support multilingual meta tags in sections
Builds upon #154.
1 year ago
Óscar 78c0f712c1
🔍️ feat: enhance SEO and accessibility with meta tags (#154) 1 year ago
Óscar 14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 1 year ago
Ó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.
1 year ago
Óscar 355df550fc
🐛 fix: allow live reload when zola is in `serve` mode (#144) 1 year ago
Óscar 772ca29dcd
feat: add `browser_theme_color` config option (#143) 1 year ago
Xavier Vello c79407e6d7
🐛 fix(header): don't fail if custom_subset absent (#132) 1 year ago
welpo 22579a5974
feat(social-media-cards): add support for twitter:image
Related PR: #130
1 year ago
Óscar d53b8470a6
feat: add support for social media cards (#130) 1 year ago
welpo ab4b523f9c
🐛 fix(favicon): use `get_url` for favicon 2 years ago
welpo 0c87f6513b
💄 style(meta): add "…" when using summary with `<!-- more -->`
Removes trailing periods, if they exist, before adding "…".

Partially reverts f03a9b3.
2 years ago
welpo 7d8ed20c24
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
2 years ago
Óscar fac730efad
feat(config): add dynamic stylesheet loading (#118) 2 years ago
Óscar f8cce3001c
feat: introduce skins to customise the theme (#105) 2 years ago
welpo 2f83ef8062
️ feat: add `cachebust` for `main.css` 2 years ago
welpo 638d75c819
🐛 fix: set proper color-scheme meta 2 years ago
welpo ab879e3727
🐛 fix: remove extra newlines in final html 2 years ago
welpo 113a7f4e5d
feat(theme-switcher): hide button if JS is disabled 2 years ago
welpo 9a98789922
feat: add support for Isso comments 2 years ago
welpo 4b43229d0a
🚚 chore(js): rename minified files 2 years ago
welpo 7924e8206c
feat: add support for Hyvor Talk comments 2 years ago
welpo 3e215e18e2
🐛 fix: use proper meta descriptions 2 years ago
welpo 19d120019b
feat: add support for giscus & utterances comments 2 years ago
welpo 93c8b577b8
🚧 feat: add utterances support 2 years ago
welpo 2dec139e41
feat: add copy button to code blocks 2 years ago
welpo fb061a1469
feat: allow using emojis as favicon 🌱 2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
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
2 years ago