126 Commits (b9bf4b2fd67c71647c0d2a1bd77dee8cb9e0ec49)

Author SHA1 Message Date
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