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
1803987555
✨ feat: make JS light/dark toggle optional
2 years ago
welpo
4d18be3a83
📝 fix: clarify requirements for A+ Observatory score
2 years ago
welpo
1b5ed1546a
🚀 fix: enable github pages
2 years ago
welpo
61e288d8d5
🔧 style: change default long date format
2 years ago
welpo
9887fb0a6f
✨ feat: allow dual date-format (short/long)
2 years ago
welpo
026a240536
🐛 fix: comment out empty `date_format`
...
Otherwise dates aren't rendered. Adds explanation in comments.
2 years ago
welpo
4b18391c18
♻️ refactor: format date as "6 July 2049"
...
Follows Oxford's and other formal style manuals.
2 years ago
welpo
80ec217607
💄 style: remove "home" from navigation
2 years ago
welpo
aa00640e96
✨ feat: use custom separator from config in meta & title
2 years ago
welpo
d7caa7af5f
✨ feat: allow customizable secure headers (CSP)
2 years ago
welpo
23f5c6d309
🔧 improvement: open external links in new window
2 years ago
welpo
0ecc6eff78
✨ feat: use ordinal day number in dates
...
If the date_format variable in config.toml is empty, the new format date
will be used. Example: 2nd August 2043.
2 years ago
welpo
d41c9b5c86
♿ ️ fix: atom feed alt description
2 years ago
Óscar
0068912163
Merge branch 'main' into fix/style
2 years ago
serginogal
3b5cc60e43
🔧 chore: add archive route to nav-links
2 years ago
welpo
32d4a9358c
✨ feat: set Table of Contents per page, not globally
2 years ago
welpo
988034ba4e
♻️ refactor: set datetime format as a variable
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
serginogal
64ed8287ff
🐛 fix: syntax highlighting
2 years ago
welpo
0b117d1641
first commit
2 years ago