166 Commits (78f97e17b4f541b11f8119f21f31c5a4adc6a0b4)

Author SHA1 Message Date
Óscar 78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2 years ago
welpo 3344f80539
🚑️ fix(footer): render footer again
#128 broke it.
2 years ago
Óscar f61c9ec309
feat(settings): add hierarchy-based setting overrides (#128) 2 years ago
Steven Roose b58225a012
feat(meta): allow hiding the read time indication on pages (#124)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2 years ago
welpo 0c87f6513b
💄 style(meta): add "…" when using summary with `<!-- more -->`
Removes trailing periods, if they exist, before adding "…".

Partially reverts f03a9b3.
2 years ago
welpo e72a8da596
💄 style: add "…" when using summary with `<!-- more -->`
Removes trailing periods, if they exist, befor adding "…".

Partially reverts f03a9b3.
2 years ago
Óscar b73f7f5d93
feat(HTML): respect `external_links_…` config (#126) 2 years ago
Óscar 9c3e5d3990
🐛 fix(home-banner): allow missing image & correct spacing (#123)
Also removes the necessity for $BASE_URL in specifying home banner images.
2 years ago
welpo 7d8ed20c24
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
2 years ago
Steven Roose c99cf940a7
🐛fix(format_date): actually use `short_date_format` (#119) 2 years ago
Óscar fac730efad
feat(config): add dynamic stylesheet loading (#118) 2 years ago
Óscar 1c3db86b75
feat(image shortcodes): add lazy loading (#116)
Additionally sets the `alt` parameters as optional and cleans HTML output.
2 years ago
Óscar ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2 years ago
welpo 36a9bac765
️chore(theme-switcher): show tooltip when hovering over icon 2 years ago
Óscar 151063d74b
feat(shortcode): add spoiler shortcode (#113) 2 years ago
welpo f1edbba8bd
feat(footer/copyright): replace "$SEPARATOR" to `separator`
Expands on #112
2 years ago
welpo 12b9184f15
🐛fix(footer): remove extra space between "tabi" and separator 2 years ago
Óscar 5ae21b5335
feat(footer): add configurable copyright notice (#112) 2 years ago
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.
2 years ago
welpo 427ffc7241
feat(footer/socials): add base64 encoded email protection 2 years ago
welpo d0babd5db1
♻️ refactor: use `get_url` for social icons 2 years ago
welpo fe872a7b54
🐛 fix: check proper `toc_ignore_pattern` 2 years ago
welpo f03a9b3c4f
💄 style: standardise posts' summary & description
* Cleans up newlines and html tags.

* Removes ellipsis from summary.
2 years ago
welpo b5fae83f28
feat: add support for remote codeberg repositories
Builds on #109
2 years ago
welpo 6178e8e642
✏️ fix: update bug report link format 2 years ago
Óscar 0e3a4af49b
feat: add link to commit history on updated articles (#109) 2 years ago
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.
2 years ago
welpo 965af4b3dd
feat: add `toc_levels` to control ToC depth 2 years ago
welpo fb0dea0106
feat: add wide container shortcode 2 years ago
welpo 4952ce88f1
feat: add `rel=me` attribute to social links
http://microformats.org/wiki/rel-me
2 years ago
welpo 5250576744
💡 chore: add comments explaining use of `get_random` 2 years ago
Óscar f8cce3001c
feat: introduce skins to customise the theme (#105) 2 years ago
welpo 2f83ef8062
️ feat: add `cachebust` for `main.css` 2 years ago
welpo 638d75c819
🐛 fix: set proper color-scheme meta 2 years ago
welpo 7ccd71736e
feat: add 2 interactive image shortcodes
- `image_hover` changes image on mouse hover.

- `image_toggler` swaps image on click.
2 years ago
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.
2 years ago
welpo ab879e3727
🐛 fix: remove extra newlines in final html 2 years ago
welpo 113a7f4e5d
feat(theme-switcher): hide button if JS is disabled 2 years ago
welpo edcfa359ef
feat: global/individual toggle for KaTeX and copy button
Allow KaTeX and copy button to be enabled globally or for individual posts.
2 years ago
Óscar 5cdc18e688
feat: add backlinks to footnotes (#101) 2 years ago
welpo f9c18b0398
feat: optional trailing slash in menu links
Enabled by default.

Drops the `$BASE_URL` transformation to avoid confusion (#99).
2 years ago
Óscar 32b1177140
♻️ refactor: improve stylised feed translations & consolidate XSL/CSS loading (#98) 2 years ago
welpo f3a0dd7f96
🥅 fix: load English stylesheet as fallback 2 years ago
smtbook e7dc5eb44e
fix: multilingual issues in feeds and 'nav.html' 2 years ago
welpo 09e5bc1aa3
🚸 feat: add JavaScript notice for comments 2 years ago
welpo 9a98789922
feat: add support for Isso comments 2 years ago
welpo 4b43229d0a
🚚 chore(js): rename minified files 2 years ago
welpo 7924e8206c
feat: add support for Hyvor Talk comments 2 years ago
welpo 05a6d15455
feat: add quick navigation buttons
💄 style(dark): change inline code background

♻️ refactor: simplify comment system logic
2 years ago
welpo 5993e950c7
feat: add support for giscus and utterances 2 years ago