Donovan Glover
93eaaea76c
🐛 fix(html): remove unused self-closing tags ( #176 )
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
Óscar
271f54ca79
🐛 fix(header): check if translations exist while building tags ( #159 )
1 year ago
Óscar
5a2161f529
✨ feat: allow internal project links ( #157 )
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
1c87b96ac1
✨ feat(header): add img_alt attribute for customisable alt text ( #153 )
1 year ago
Óscar
6f269eee4a
✨ feat(templates): introduce info-page template ( #147 )
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
Óscar
78f97e17b4
♻️ refactor(translation): introduce translation macro ( #129 )
2 years ago
Óscar
f61c9ec309
✨ feat(settings): add hierarchy-based setting overrides ( #128 )
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
Óscar
b73f7f5d93
✨ feat(HTML): respect `external_links_…` config ( #126 )
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
welpo
36a9bac765
♿ ️chore(theme-switcher): show tooltip when hovering over icon
2 years ago
welpo
f1edbba8bd
✨ feat(footer/copyright): replace "$SEPARATOR" to `separator`
...
Expands on #112
2 years ago
welpo
12b9184f15
🐛 fix(footer): remove extra space between "tabi" and separator
2 years ago
Óscar
5ae21b5335
✨ feat(footer): add configurable copyright notice ( #112 )
2 years ago
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.
2 years ago
welpo
427ffc7241
✨ feat(footer/socials): add base64 encoded email protection
2 years ago
welpo
d0babd5db1
♻️ refactor: use `get_url` for social icons
2 years ago
welpo
4952ce88f1
✨ feat: add `rel=me` attribute to social links
...
http://microformats.org/wiki/rel-me
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
f9c18b0398
✨ feat: optional trailing slash in menu links
...
Enabled by default.
Drops the `$BASE_URL` transformation to avoid confusion (#99 ).
2 years ago
smtbook
e7dc5eb44e
fix: multilingual issues in feeds and 'nav.html'
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
f710b62631
🐛 fix: properly check for `theme_switcher` setting
2 years ago
welpo
0b02e727e0
💄 style: rename "atom/rss feed" to "feed"
2 years ago
welpo
56a3061573
🐛 fix: proper URL for multilingual rss/atom feeds
2 years ago
welpo
5ac69fe21d
🐛 fix: show language switcher if there's more than 1 language
2 years ago
Óscar
90d7188787
Merge branch 'main' into feat/multilingual-support
2 years ago
welpo
fb061a1469
✨ feat: allow using emojis as favicon 🌱
2 years ago
welpo
fa9229377d
✨ feat: add multi-language support
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
welpo
556570d799
🐛 fix: only load script when themeswitcher is enabled
2 years ago
welpo
1803987555
✨ feat: make JS light/dark toggle optional
2 years ago
welpo
b7c89753ec
💄 style: smaller socials; add Zola & tabi mention
2 years ago
welpo
dceceff5fd
♻️ refactor: improve spacing and indentation
2 years ago
welpo
cd2ab356be
💄 style: redesign post listing and other minor changes
2 years ago
welpo
54ae781352
🔒 ️ fix: prevent malformed CSP header
2 years ago
welpo
9ac150423b
♻️ refactor: remove unused set_title argument
2 years ago
welpo
53d2624133
🐛 fix: use set_title macro to set proper titles
...
Fixes #33
2 years ago
welpo
d7caa7af5f
✨ feat: allow customizable secure headers (CSP)
2 years ago
welpo
3aa22cb3ad
♻️ refactor: split macros.html in different files
...
Clearer macros format.
2 years ago
welpo
2f4d0658d8
🐛 fix: rename sun icon reference
2 years ago
welpo
84b4469b07
⚡ ️ improvement: switch from webp to svg icons
...
Saves a bit of space :)
2 years ago
welpo
c6e5de7dee
⚡ ️ improvement: use webp instead of png
2 years ago
welpo
095b9d0d07
🐛 fix: add end-of-file newline
2 years ago
welpo
4cef13a7dd
🐛 fix: remove duplicated meta description
2 years ago
welpo
3f4259d3f4
🐛 fix: remove space in atom url
2 years ago
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
2 years ago
welpo
049df81d6c
🐛 fix: allow for relative paths everywhere
...
Allows hosting the page on subdirectories.
2 years ago
Óscar
1c69169ef0
Merge pull request #9 from welpo/fix/theme-switcher-alt
...
🐛 fix: alt text for moon/sun icons (theme switcher)
2 years ago
welpo
4edbcf08b3
🐛 fix: alt text for moon/sun icons (theme switcher)
2 years ago
serginogal
dcaa705b56
🐛 fix: trailing space in front of nav-links
2 years ago
welpo
0b117d1641
first commit
2 years ago