Commit Graph

684 Commits

Author SHA1 Message Date
Ó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
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
Óscar
bc90d04c02 feat: add wide container shortcode (#107) 2023-08-11 23:40:01 +02:00
welpo
fb0dea0106 feat: add wide container shortcode 2023-08-11 23:36:59 +02:00