281 Commits

Author SHA1 Message Date
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
welpo
887929fac7
♻️ refactor: wrap tags in ul>li
Long tags will get wrapped onto new lines now.
2023-02-27 18:45:46 +01:00
welpo
0648bc80e2
♻️ refactor: rename 'Categories' to 'Tags' 2023-02-27 01:45:42 +01:00
welpo
31ea93bbbe
♻️ refactor: use native updated field 2023-02-27 01:03:33 +01:00
welpo
ed47f2580b
feat: add 'Last updated' extra tag 2023-02-27 00:55:17 +01:00
welpo
b3dc5396b4
feat: add dual image support for switching themes 2023-02-25 22:28:43 +01:00
welpo
4e4021da5d
feat: format references with custom shortcode
Uses hanging indent for a References section.
2023-02-25 02:00:42 +01:00
welpo
54ae781352
🔒️ fix: prevent malformed CSP header 2023-02-23 01:35:06 +01:00
welpo
aa00640e96
feat: use custom separator from config in meta & title 2023-02-22 23:56:34 +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
9ed4034260
🥚 refactor: show word count as reading time tooltip 2023-02-21 14:51:02 +01:00
welpo
d9cd64e5a4
feat: display word count when hovering over read time 2023-02-21 02:43:23 +01:00
welpo
1c93df0a6f
️ refactor: improve table of contents accessibility 2023-02-20 01:21:20 +01:00
welpo
e4c6705843
💄 style: resize headers 2023-02-19 21:23:10 +01:00
welpo
83b7bb9d3a
💄 style: increase margins before content & after ToC 2023-02-19 16:27:43 +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
4390b7bdfb
💄 style: coloured links in paragraph; meta changes
- Links in paragraphs are no longer underlined, but rather coloured with
the accent-colour of the theme.
- The meta section on posts (date, time to read, tags) is rehauled. It's
more compact, less distracting and more minimal.
- Line height is increased.
2023-02-19 00:31:57 +01:00
Óscar
9ff7462ccd
Merge branch 'main' into style/redesign-posts 2023-02-18 19:31:03 +01:00
welpo
8fe96d3f46
Commit Message: Refactor font weight and size, add article max-width, update color variables 2023-02-18 19:27:46 +01:00
welpo
799b31d403
✏️ fix: minor typo 2023-02-18 03:24:58 +01:00
Óscar
586b5617b2
Merge pull request #39 from welpo/feature/default-theme-switcher
Change default theme to OS default; listen to OS default theme changes and switch accordingly (as long as there's no user preference set)
2023-02-17 13:47:59 +01:00
welpo
bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2023-02-16 00:22:31 +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