73 Commits

Author SHA1 Message Date
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
1803987555
feat: make JS light/dark toggle optional 2023-04-15 00:42:27 +02:00
welpo
4d18be3a83
📝 fix: clarify requirements for A+ Observatory score 2023-04-14 23:50:26 +02:00
welpo
1b5ed1546a
🚀 fix: enable github pages 2023-04-14 16:59:55 +02:00
welpo
61e288d8d5
🔧 style: change default long date format 2023-03-18 01:49:55 +01:00
welpo
9887fb0a6f
feat: allow dual date-format (short/long) 2023-03-10 23:25:54 +01:00
welpo
026a240536
🐛 fix: comment out empty date_format
Otherwise dates aren't rendered. Adds explanation in comments.
2023-03-06 00:33:35 +01:00
welpo
4b18391c18
♻️ refactor: format date as "6 July 2049"
Follows Oxford's and other formal style manuals.
2023-03-06 00:07:41 +01:00
welpo
80ec217607
💄 style: remove "home" from navigation 2023-03-05 19:41:42 +01:00
welpo
aa00640e96
feat: use custom separator from config in meta & title 2023-02-22 23:56:34 +01:00
welpo
d7caa7af5f
feat: allow customizable secure headers (CSP) 2023-02-22 01:47:32 +01:00
welpo
23f5c6d309
🔧 improvement: open external links in new window 2023-02-20 13:12:18 +01:00
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.
2023-02-19 02:27:01 +01:00
welpo
d41c9b5c86
️ fix: atom feed alt description 2023-02-08 02:10:03 +01:00
Óscar
0068912163
Merge branch 'main' into fix/style 2023-02-07 20:11:38 +01:00
serginogal
3b5cc60e43 🔧 chore: add archive route to nav-links 2023-02-07 17:29:55 +09:00
welpo
32d4a9358c feat: set Table of Contents per page, not globally 2023-02-06 16:01:46 +01:00
welpo
988034ba4e ♻️ refactor: set datetime format as a variable 2023-02-06 14:42:41 +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
serginogal
64ed8287ff 🐛 fix: syntax highlighting 2023-02-03 02:34:06 +09:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00