307 Commits

Author SHA1 Message Date
welpo
16f1aa57fa
🔥 refactor: remove Yahoo Media RSS reference 2023-06-24 03:10:41 +02:00
welpo
1b60be8c9d
🚧 feat: style xml feed 2023-06-24 03:06:54 +02:00
welpo
e3bd75e9e3
🎨 refactor: restructure template 2023-06-24 00:30:05 +02:00
welpo
54e88beca2
feat: use page description as summary
If neither page description or summary are available,
only the post title will be shown.
2023-06-23 17:26:09 +02:00
welpo
0b02e727e0
💄 style: rename "atom/rss feed" to "feed" 2023-06-23 01:51:17 +02:00
welpo
5bdb8045a6
💄 style: set custom header anchor 2023-06-18 23:13:37 +02:00
welpo
c47198facf
🎨 style: add dash to toggle identifier 2023-06-16 13:49:46 +02:00
welpo
0e1a5143c0
🐛 fix: generate random id for multilingual quotes
Fix #82
2023-06-16 02:09:55 +02:00
welpo
dd73e52729
feat: add custom quotation marks for multilingual quotes
Allows users to specify custom opening and closing quotation marks for
the multilingual quote shortcode.
The quotation marks can be configured per language in config.toml.
If not specified, default quotation marks will be used.
2023-06-07 01:50:43 +02:00
welpo
56a3061573
🐛 fix: proper URL for multilingual rss/atom feeds 2023-06-05 23:48:34 +02:00
welpo
ab29511d5e
feat: add multilingual quote shortcode 2023-06-05 23:22:17 +02:00
welpo
58d0dd6f2f
🐛 fix: mention translations in 404 if there's more than 1 language 2023-05-30 14:01:25 +02:00
welpo
5ac69fe21d
🐛 fix: show language switcher if there's more than 1 language 2023-05-30 14:00:00 +02:00
Óscar
90d7188787
Merge branch 'main' into feat/multilingual-support 2023-05-25 18:03:24 +02:00
welpo
8ecd23b940
💫 refactor(404): remove mention of translations for single language sites 2023-05-25 18:00:39 +02:00
welpo
fb061a1469
feat: allow using emojis as favicon 🌱 2023-05-25 14:31:03 +02:00
welpo
eded835d3f
🐛 fix: avoid empty dates when long_date_format is empty 2023-05-23 22:59:47 +02:00
welpo
fa9229377d
feat: add multi-language support 2023-05-22 19:12:03 +02:00
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
eb63718bbf
🚚 refactor: rename minified KaTeX css 2023-04-28 16:12:14 +02:00
welpo
556570d799
🐛 fix: only load script when themeswitcher is enabled 2023-04-27 23:45:58 +02:00
welpo
25a8374edc
💄 style: respect the tags capitalisation
Otherwise "TIL" becomes "Til", for example.
2023-04-17 02:22:07 +02:00
welpo
b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2023-04-16 18:06:20 +02:00
welpo
7aa61422a8
✏️ fix: properly end macro 2023-04-16 13:42:19 +02:00
welpo
8b5726c34e
️ feat: set width and height of project images 2023-04-16 13:39:08 +02:00
welpo
b841969a8f
feat(shortcodes): update image path retrieval and dimensions in shortcodes
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image

These changes reduce layout shifts.
2023-04-16 03:21:41 +02:00
welpo
369fa9700a
💄 style: add link to project images 2023-04-16 02:34:09 +02:00
welpo
10b85257cd
🔥 refactor: remove metadata in project files 2023-04-16 00:47:01 +02:00
welpo
f9335b3fa4
feat: add KaTeX support 2023-04-15 19:55:57 +02:00
welpo
1803987555
feat: make JS light/dark toggle optional 2023-04-15 00:42:27 +02:00
welpo
8ff86b17fc
🐛 fix: check short value before using config date format
Added a check for whether short is true or false, rather than just
checking if it exists. This ensures that if short is set to false,
it will still use the long date format if it's available.
♻️ refactor: move the conditional around the date output, so it only
needs to check `short` once
2023-03-18 02:05:16 +01:00
welpo
9887fb0a6f
feat: allow dual date-format (short/long) 2023-03-10 23:25:54 +01:00
welpo
ac0495ea69
🐛 fix: remove newlines around <title> from source code 2023-03-10 01:25:15 +01:00
Óscar
450c896ba7
💄 style: smaller socials; add Zola & tabi mention
💄 style: smaller socials; add Zola & tabi mention
2023-03-08 00:57:11 +01:00
welpo
50b8d5fc7b
️ fix: improve accessibility in lists & taps 2023-03-08 00:51:48 +01:00
welpo
b7c89753ec
💄 style: smaller socials; add Zola & tabi mention 2023-03-08 00:01:23 +01:00
welpo
28d5704afd
💄 style: use day-month format 2023-03-06 23:02:38 +01:00
welpo
dc64e2589d
💄 style: wrap post description in <p> 2023-03-06 11:45:20 +01:00
welpo
dceceff5fd
♻️ refactor: improve spacing and indentation 2023-03-06 00:20:31 +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
cd2ab356be
💄 style: redesign post listing and other minor changes 2023-03-05 19:58:19 +01:00
welpo
14156b590a
🚚 refactor: move blog posts to blog section 2023-03-05 19:53:52 +01:00
welpo
8ac1894a66
💄 style: redesign tag pages 2023-03-05 19:52:51 +01:00
welpo
7605ccaf54
♻️ refactor: use consistent pagination 2023-03-05 19:51:20 +01:00
welpo
a8e49cfedf
♻️ refactor: use consistent pagination 2023-03-05 19:48:16 +01:00
welpo
6938ae42f9
🔥 refactor: remove 403 page 2023-03-05 19:46:26 +01:00
welpo
de46a24d37
♻️ refactor: rename extra.desc to extra.header 2023-03-01 12:34:10 +01:00
welpo
b33a942766
💄 style: use cards/boxes for tag list 2023-03-01 00:57:44 +01:00
welpo
a761fd00ee
🚧 style: list all posts per tag 2023-02-28 18:36:31 +01:00