638 Commits

Author SHA1 Message Date
Óscar
fac730efad
feat(config): add dynamic stylesheet loading (#118) 2023-08-26 15:07:21 +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
welpo
1be3fa886c
💄style: stylise scrollbar based on site's color scheme
See #114 and Jieiku/abridge#136
2023-08-26 00:34:12 +02:00
welpo
ce7ac7cf2c
💄style(codeblocks): unhide scrollbars
Not enough people know about Shift+Scroll :(
Plus, if someone doesn't like scrollbars, they can hide them globally.

See #114
2023-08-26 00:05:14 +02:00
Óscar
ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2023-08-25 15:52:25 +02:00
welpo
f8f2967527
🔥chore(tags): remove unused CSS 2023-08-25 13:55:25 +02:00
welpo
8b091ba7e9
💄style(projects): cleaner shadow 2023-08-25 13:54:59 +02:00
welpo
36a9bac765
️chore(theme-switcher): show tooltip when hovering over icon 2023-08-25 01:53:24 +02:00
welpo
09410e32bc
🔥chore: remove duplicated overflow-x declaration 2023-08-24 20:37:41 +02:00
Óscar
151063d74b
feat(shortcode): add spoiler shortcode (#113) 2023-08-24 14:27:33 +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
12b9184f15
🐛fix(footer): remove extra space between "tabi" and separator 2023-08-18 23:28:32 +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
1601fbf30c
feat(pre-commit): sync config.toml and theme.toml [extra] 2023-08-18 23:01:34 +02:00
Óscar
d3167adb8f
feat(footer): Add link to remote repository (#111) 2023-08-18 21:55:37 +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
Óscar
6dc6e51ea8
feat: add base64 encoded email protection (#110) 2023-08-18 19:21:29 +02:00
welpo
427ffc7241
feat(footer/socials): add base64 encoded email protection 2023-08-18 18:39:24 +02:00
welpo
2833d9f8c0
🔨 docs(pre-commit): remove redundancy in minified error 2023-08-18 15:10:42 +02:00
welpo
68e37f4574
🐛 fix(styled feed): url to "Visit Website"
Before this, it was linking to the own feed.
Now it links to the homepage of the corresponding language.
2023-08-18 12:55:57 +02:00
welpo
725101300e
️ refactor(utterances): further minify JS 2023-08-17 23:58:08 +02:00
welpo
cffe06f44e
feat(pre-commit): show which JS compressor is best 2023-08-17 23:56:21 +02:00
welpo
1027c4fd02
feat(pre-commit): check for JS minification 2023-08-17 23:42:40 +02:00
welpo
d0babd5db1
♻️ refactor: use get_url for social icons 2023-08-17 21:03:41 +02:00
welpo
adb702f3c3
🐛 fix: is_draft returning opposite value
 feat: avoid commiting files with "TODO"

♻️ refactor: loop over all files, not just markdown and png.
Useful to catch TODOs in Tera templates, for example.
2023-08-16 23:56:42 +02:00
welpo
fe872a7b54
🐛 fix: check proper toc_ignore_pattern 2023-08-16 02:02:31 +02:00
welpo
89519e6268
💡chore: add usage instructions 2023-08-16 01:15:16 +02:00
welpo
6cb2327907
feat: avoid commiting drafts
- Optimizes both new and modified png files.
2023-08-16 01:05:25 +02:00
welpo
22d8ae6b8a
🔨 feat: add pre-commit hook
- Updates the `updated` date of posts.

- Compresses PNG files.

- Creates font subsets.

- Updates multilanguage-related lines in README.md.
2023-08-16 00:11:38 +02:00
welpo
0cdb83e3b2
📝 docs: update link to multilanguage lines in config 2023-08-15 23:47:49 +02:00
welpo
52d0ac9447
🐛 fix: move default_language to proper section 2023-08-15 20:55:16 +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
a61911d7df
📝 docs: update link to multilanguage lines in config 2023-08-15 02:13:49 +02:00
Óscar
0e3a4af49b
feat: add link to commit history on updated articles (#109) 2023-08-15 02:02:23 +02:00
Óscar
0884370138
feat: overhaul Table of Contents (#108) 2023-08-14 17:46:14 +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
a6046cd9d7
💄 style: set transparent bg for code in table headers
Changed the background color of the `code` tags within table headers
to transparent to enhance readability and contrast. This ensures
that the code tags in headers remain visually distinct
while not detracting from overall table aesthetics.
2023-08-13 21:59:17 +02:00
welpo
275950f97d
💄 style: adjust font styles for <details> and <summary>
Serif in text body, sans serif in tables.
2023-08-12 17:05:09 +02:00
welpo
497566e696
🔥 chore: remove duplicated p line-height 2023-08-12 17:04:20 +02:00
welpo
2ebf72c83f
💄 style: keep top/bottom element's margin in full-width
Again, reverting b1b98eb
2023-08-12 13:45:54 +02:00
welpo
8cfab98e72
️ fix: revert flex display (b1b98eb) 2023-08-12 02:00:14 +02:00
welpo
b1b98eb2b1
💄 style: retain element's spacing within full-width 2023-08-12 01:22:59 +02:00
welpo
503f54ab5e
🔥 chore: remove duplicated code 2023-08-12 01:05:02 +02:00
welpo
56a53dce0c
🐛 fix: remove flex display on full-width elements
Avoids columns being created when multiple items are within the shortcode.
2023-08-12 00:59:04 +02:00
welpo
4b38d53693
💄 style: reset margin & padding for children of .full-width 2023-08-12 00:50:03 +02:00
welpo
fffaece884
💄 style: use theme variable for table borders
Borders looked jarring in the dark theme, as the hardcoded variable was too close to white.

Also reduces tables' top and bottom margin.
2023-08-12 00:22:01 +02:00