115 Commits

Author SHA1 Message Date
Óscar
772ca29dcd feat: add browser_theme_color config option (#143) 2023-09-09 19:48:53 +02:00
Óscar
9acaba6e35 feat(title): add invert_title_order config option (#142) 2023-09-09 18:31:13 +02:00
welpo
695e40be70 feat(ToC): implement setting hierarchy for ToC
Related: #128 and #120
2023-09-07 01:59:28 +02:00
Óscar
d53b8470a6 feat: add support for social media cards (#130) 2023-09-06 13:38:52 +02:00
welpo
ab4b523f9c 🐛 fix(favicon): use get_url for favicon 2023-09-01 23:50:52 +02:00
Óscar
f61c9ec309 feat(settings): add hierarchy-based setting overrides (#128) 2023-09-01 14:03:37 +02:00
Steven Roose
b58225a012 feat(meta): allow hiding the read time indication on pages (#124)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2023-08-31 19:37:09 +02:00
welpo
f57f3138c2 📝 docs(config): clarify default short date format 2023-08-28 13:46:38 +02:00
Óscar
fac730efad feat(config): add dynamic stylesheet loading (#118) 2023-08-26 15:07:21 +02:00
welpo
3822f00d3e ♻️ refactor(giscus): move comment box to bottom 2023-08-19 01:41:55 +02:00
welpo
f1edbba8bd feat(footer/copyright): replace "$SEPARATOR" to separator
Expands on #112
2023-08-19 01:26:27 +02:00
welpo
c1eda46934 💡chore(config): add comments to language section 2023-08-18 23:15:21 +02:00
Óscar
5ae21b5335 feat(footer): add configurable copyright notice (#112) 2023-08-18 23:12:39 +02:00
welpo
99f6f2dcdc feat(footer): add link to remote repository
Adds two options, both defaulting to true if the remote repo URL is set:
* `show_remote_changes`: links the commit history of a post next to the updated date. (#109)
* `show_remote_source`: links to the site's repository on the footer.
2023-08-18 21:46:37 +02:00
welpo
427ffc7241 feat(footer/socials): add base64 encoded email protection 2023-08-18 18:39:24 +02:00
welpo
52d0ac9447 🐛 fix: move default_language to proper section 2023-08-15 20:55:16 +02:00
welpo
b5fae83f28 feat: add support for remote codeberg repositories
Builds on #109
2023-08-15 12:58:36 +02:00
Óscar
0e3a4af49b feat: add link to commit history on updated articles (#109) 2023-08-15 02:02:23 +02:00
welpo
6b0cc11da4 📝 docs: add link to skins showcase/documentation 2023-08-10 19:20:27 +02:00
Óscar
f8cce3001c feat: introduce skins to customise the theme (#105) 2023-08-10 13:21:52 +02:00
welpo
c78c7f5bd1 feat: allow setting the default theme
Used as fallback when JS is disabled and `theme_switcher` is enabled.

If `default_theme` is unset, it defaults to "light".

Used as single theme when `theme_switcher` is disabled.
2023-08-08 00:47:24 +02:00
welpo
edcfa359ef feat: global/individual toggle for KaTeX and copy button
Allow KaTeX and copy button to be enabled globally or for individual posts.
2023-08-02 19:38:04 +02:00
Óscar
5cdc18e688 feat: add backlinks to footnotes (#101) 2023-08-02 18:35:27 +02:00
welpo
f9c18b0398 feat: optional trailing slash in menu links
Enabled by default.

Drops the `$BASE_URL` transformation to avoid confusion (#99).
2023-08-01 14:11:05 +02:00
Óscar
32b1177140 ♻️ refactor: improve stylised feed translations & consolidate XSL/CSS loading (#98) 2023-07-31 21:07:13 +02:00
welpo
588defd7f2 📝 docs: suggest editing language feed stylesheet 2023-07-31 17:04:34 +02:00
welpo
9a98789922 feat: add support for Isso comments 2023-07-26 01:47:26 +02:00
welpo
7924e8206c feat: add support for Hyvor Talk comments 2023-07-17 20:10:18 +02:00
welpo
05a6d15455 feat: add quick navigation buttons
💄 style(dark): change inline code background

♻️ refactor: simplify comment system logic
2023-07-16 00:50:07 +02:00
welpo
1a74cb4496 📝 docs: fix mention of "Load comments" button 2023-07-14 21:32:11 +02:00
welpo
5993e950c7 feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
welpo
19d120019b feat: add support for giscus & utterances comments 2023-07-12 18:44:28 +02:00
welpo
93c8b577b8 🚧 feat: add utterances support 2023-07-10 21:42:21 +02:00
welpo
2dec139e41 feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
welpo
f9d8f3668f 📝 docs: add default author 2023-06-23 17:24:15 +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
Óscar
90d7188787 Merge branch 'main' into feat/multilingual-support 2023-05-25 18:03:24 +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
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