112 Commits

Author SHA1 Message Date
Óscar
9c3e5d3990
🐛 fix(home-banner): allow missing image & correct spacing (#123)
Also removes the necessity for $BASE_URL in specifying home banner images.
2023-08-29 15:38:51 +02:00
Ó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
151063d74b
feat(shortcode): add spoiler shortcode (#113) 2023-08-24 14:27:33 +02:00
welpo
427ffc7241
feat(footer/socials): add base64 encoded email protection 2023-08-18 18:39:24 +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
a47a8be011
🚸 docs: add ToC and quick navigation buttons 2023-08-12 00:07:25 +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
41009a50a1
📝 docs: clarify the 2 possible paths for custom skins 2023-08-10 20:02:25 +02:00
Óscar
f8cce3001c
feat: introduce skins to customise the theme (#105) 2023-08-10 13:21:52 +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
e3ee95d718
💄 style: redesign block quotes 2023-08-06 21:19:31 +02:00
welpo
521a05b97f
📝 docs: improve Code tags example 2023-08-02 23:30:47 +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
a1ceb74785
💄 style: improve footnotes and <hr> styling
Fixes multiple footnotes having a horizontal line above each.
2023-08-02 17:28:47 +02:00
welpo
6b00aae20e
📝 docs: add Isso comments mention 2023-08-01 16:12:29 +02:00
welpo
a201c05823
📝 docs: mention support for Isso comments 2023-07-26 01:56:34 +02:00
welpo
9a98789922
feat: add support for Isso comments 2023-07-26 01:47:26 +02:00
welpo
b6f7f802b4
💄 docs: add code type to codeblock 2023-07-17 22:12:42 +02:00
welpo
f859113c81
📝 docs: add Hyvor Talk comments mention 2023-07-17 22:11:42 +02:00
welpo
5d99da2cd0
📝 docs: remove updated date from examples 2023-07-17 20:30:13 +02:00
welpo
f5e9ad8c8a
✏️ fix: replace "y" with "i" 2023-07-17 20:18:38 +02:00
welpo
31fee59eb2
📝 docs: update for Hyvor Talk support 2023-07-17 20:16:31 +02:00
welpo
7924e8206c
feat: add support for Hyvor Talk comments 2023-07-17 20:10:18 +02:00
welpo
5214dd3560
📝 docs: remove first header 2023-07-17 20:07:57 +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
19d120019b
feat: add support for giscus & utterances comments 2023-07-12 18:44:28 +02:00
welpo
33cfe77344
📝 docs: add code language to bash code blocks 2023-07-08 01:57:12 +02:00
welpo
dcbb4c5290
📝 docs: remove updated date from example 2023-07-08 00:59:05 +02:00
welpo
1cd34b528e
📝 docs: improve KaTeX documentation 2023-07-08 00:56:32 +02:00
welpo
139ca042f4
📝 docs: set proper updated date 2023-07-07 22:12:50 +02:00
welpo
2dec139e41
feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
welpo
fa5e21feea
💬 docs: translate 'Usage' header 2023-07-07 18:02:32 +02:00
welpo
fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2023-07-05 02:43:07 +02:00
welpo
41c44d3d84
📝 docs: remove atom feed filter in script 2023-06-23 01:50:44 +02:00
welpo
8b7f53e3ca
📝 docs: remove unnecessary date 2023-06-07 00:44:38 +02:00
welpo
c7a411e157
📝 docs: add quotation marks to quotes 2023-06-05 23:22:38 +02:00
welpo
ab29511d5e
feat: add multilingual quote shortcode 2023-06-05 23:22:17 +02:00
welpo
f657010be4
️ docs: revert script changes 2023-05-25 16:04:56 +02:00
welpo
44980f1418
📝 docs: include layout features in font subset 2023-05-22 19:42:04 +02:00
welpo
fa9229377d
feat: add multi-language support 2023-05-22 19:12:03 +02:00
welpo
e316dc25ab
📝 docs: rephrase last sentence 2023-05-22 18:28:09 +02:00
welpo
47caa99e0c
📝 docs: rephrase description 2023-05-22 18:11:10 +02:00
welpo
3389638b06
✏️ docs: close codeblock 2023-05-21 23:44:27 +02:00
welpo
60680fad37
📝 docs: update URL 2023-05-18 23:24:50 +02:00
welpo
358e78d25a
📝 fix: remove extra backtick 2023-04-29 18:24:00 +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