155 Commits

Author SHA1 Message Date
Óscar
1c3db86b75
feat(image shortcodes): add lazy loading (#116)
Additionally sets the `alt` parameters as optional and cleans HTML output.
2023-08-26 01:57:19 +02:00
Óscar
ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2023-08-25 15:52:25 +02:00
welpo
36a9bac765
️chore(theme-switcher): show tooltip when hovering over icon 2023-08-25 01:53:24 +02:00
Óscar
151063d74b
feat(shortcode): add spoiler shortcode (#113) 2023-08-24 14:27:33 +02:00
welpo
f1edbba8bd
feat(footer/copyright): replace "$SEPARATOR" to separator
Expands on #112
2023-08-19 01:26:27 +02:00
welpo
12b9184f15
🐛fix(footer): remove extra space between "tabi" and separator 2023-08-18 23:28:32 +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
d0babd5db1
♻️ refactor: use get_url for social icons 2023-08-17 21:03:41 +02:00
welpo
fe872a7b54
🐛 fix: check proper toc_ignore_pattern 2023-08-16 02:02:31 +02:00
welpo
f03a9b3c4f
💄 style: standardise posts' summary & description
* Cleans up newlines and html tags.

* Removes ellipsis from summary.
2023-08-15 20:27:30 +02:00
welpo
b5fae83f28
feat: add support for remote codeberg repositories
Builds on #109
2023-08-15 12:58:36 +02:00
welpo
6178e8e642
✏️ fix: update bug report link format 2023-08-15 12:20:45 +02:00
Óscar
0e3a4af49b
feat: add link to commit history on updated articles (#109) 2023-08-15 02:02:23 +02:00
welpo
07ceddcc00
feat: enhance Table of Contents
- Introduce `toc_ignore_pattern` to ignore specific headers based on regex.
- Allow custom ToC placement with shortcode or "<!-- toc -->" marker.
- Increase max depth for ToC to 4.
- Update Documentation for the above features.
 - Move ToC generation to a macro file.
2023-08-14 15:08:22 +02:00
welpo
965af4b3dd
feat: add toc_levels to control ToC depth 2023-08-12 00:06:24 +02:00
welpo
fb0dea0106
feat: add wide container shortcode 2023-08-11 23:36:59 +02:00
welpo
4952ce88f1
feat: add rel=me attribute to social links
http://microformats.org/wiki/rel-me
2023-08-11 01:55:46 +02:00
welpo
5250576744
💡 chore: add comments explaining use of get_random 2023-08-10 17:26:39 +02:00
Óscar
f8cce3001c
feat: introduce skins to customise the theme (#105) 2023-08-10 13:21:52 +02:00
welpo
2f83ef8062
️ feat: add cachebust for main.css 2023-08-09 18:53:45 +02:00
welpo
638d75c819
🐛 fix: set proper color-scheme meta 2023-08-09 18:45:16 +02:00
welpo
7ccd71736e
feat: add 2 interactive image shortcodes
- `image_hover` changes image on mouse hover.

- `image_toggler` swaps image on click.
2023-08-09 18:36:45 +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
ab879e3727
🐛 fix: remove extra newlines in final html 2023-08-07 00:12:00 +02:00
welpo
113a7f4e5d
feat(theme-switcher): hide button if JS is disabled 2023-08-03 00:12:00 +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
f3a0dd7f96
🥅 fix: load English stylesheet as fallback 2023-07-31 17:04:34 +02:00
smtbook
e7dc5eb44e
fix: multilingual issues in feeds and 'nav.html' 2023-07-31 17:04:34 +02:00
welpo
09e5bc1aa3
🚸 feat: add JavaScript notice for comments 2023-07-27 00:42:51 +02:00
welpo
9a98789922
feat: add support for Isso comments 2023-07-26 01:47:26 +02:00
welpo
4b43229d0a
🚚 chore(js): rename minified files 2023-07-17 20:40:48 +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
5993e950c7
feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
welpo
3e215e18e2
🐛 fix: use proper meta descriptions 2023-07-14 21:20:22 +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
46100730fa
🐛 fix(atom): escape HTML in feed summary
HTML now shows clear,
Escaping tamed, data pure,
Feed sings, have no fear.
2023-07-09 14:16:37 +02:00
welpo
2dec139e41
feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
welpo
f710b62631
🐛 fix: properly check for theme_switcher setting 2023-07-07 21:58:47 +02:00
welpo
fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2023-07-05 02:43:07 +02:00
welpo
67173f27cd
🎨 style: remove newlines around summary 2023-07-02 01:02:18 +02:00
welpo
19bebde148
🐛 fix: remove leading slash from xsl href 2023-06-27 00:04:04 +02:00
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