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
556570d799
🐛 fix: only load script when themeswitcher is enabled
2023-04-27 23:45:58 +02:00
welpo
1803987555
✨ feat: make JS light/dark toggle optional
2023-04-15 00:42:27 +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
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
welpo
53d2624133
🐛 fix: use set_title macro to set proper titles
...
Fixes #33
2023-02-22 23:28:14 +01:00
welpo
d7caa7af5f
✨ feat: allow customizable secure headers (CSP)
2023-02-22 01:47:32 +01:00
welpo
3aa22cb3ad
♻️ refactor: split macros.html in different files
...
Clearer macros format.
2023-02-21 19:39:54 +01:00
welpo
2f4d0658d8
🐛 fix: rename sun icon reference
2023-02-15 01:33:43 +01:00
welpo
84b4469b07
⚡ ️ improvement: switch from webp to svg icons
...
Saves a bit of space :)
2023-02-14 23:21:32 +01:00
welpo
c6e5de7dee
⚡ ️ improvement: use webp instead of png
2023-02-11 21:48:47 +01:00
welpo
095b9d0d07
🐛 fix: add end-of-file newline
2023-02-06 02:20:56 +01:00
welpo
4cef13a7dd
🐛 fix: remove duplicated meta description
2023-02-06 01:37:34 +01:00
welpo
3f4259d3f4
🐛 fix: remove space in atom url
2023-02-06 01:36:14 +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
Óscar
1c69169ef0
Merge pull request #9 from welpo/fix/theme-switcher-alt
...
🐛 fix: alt text for moon/sun icons (theme switcher)
2023-02-03 14:02:48 +01:00
welpo
4edbcf08b3
🐛 fix: alt text for moon/sun icons (theme switcher)
2023-02-03 14:01:35 +01:00
serginogal
dcaa705b56
🐛 fix: trailing space in front of nav-links
2023-02-03 18:45:18 +09:00
welpo
0b117d1641
first commit
2023-02-02 15:53:54 +01:00