151 Commits (main)

Author SHA1 Message Date
welpo b70efd1642
feat: enable adding URL/path to code blocks (#307) 10 months ago
Óscar 0cbd727f25
feat: add option to display/hide date in metadata (#306) 10 months ago
Óscar 5bc593b676
feat(shortcodes): add remote_text shortcode (#305) 10 months ago
Óscar e7172a0432
feat: allow showcasing featured projects on homepage (#297) 10 months ago
welpo d0162291d9
feat(shortcodes): add admonition shortcode (#285) 11 months ago
welpo 5e0cbdd67d
feat: allow disabling CSP, following the hierarchy
Introduces new option `enable_csp`, true by default.
Can be set on a page, section or globally.
12 months ago
Jafar Farganlooj 9a5ea8ed65
🌐 feat(i18n): add Persian language (#283)
Co-authored-by: welpo <welpo@users.noreply.github.com>
12 months ago
welpo 6efe2ee57d
📝 docs: fix various broken links 1 year ago
Óscar ed845eaf25
feat(shortcodes): support URLs for image source (#280) 1 year ago
welpo 274c4146b2
📝 docs(mastering-tabi): fix unclosed codeblock 1 year ago
welpo e5442fa29f
📝 docs(i18n): add Arabic to list of supported languages 1 year ago
ZzMzaw b011f58da6
feat: allow inverting previous/next article links (#261)
- Adds next/previous labels for clarity
- Truncated long titles get "…" appended

Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
welpo c4e5a65908
📝 docs(faq-languages): clarify setting default language 1 year ago
Óscar 906bc9dec0
feat: add search functionality (#250) 1 year ago
welpo eb3cee71f0
📝 chore(docs): mention Chinese Traditional support 1 year ago
Óscar b518e13c5d
feat(archive): allow multiple sources in Archive (#249) 1 year ago
welpo e2baa36ddc
📝 docs(mastering-tabi): fix `browser_theme_color` spelling 1 year ago
Óscar d50a85b5bc
feat: adjust width of prev/next link section (#248) 1 year ago
Óscar dac6bfc024
feat: add previous/next article navigation (#246) 1 year ago
welpo cd2cbf36fa
📝 docs(mastering-tabi): favour GitHub discussions over comment section 1 year ago
Óscar Fernández d257e022ea
feat(tags): add `compact_tags` option (#232)
Co-authored-by: arichtman <10679234+arichtman@users.noreply.github.com>
1 year ago
Óscar Fernández 920aa609f0
feat(feed): support hiding pages and sections (#227) 1 year ago
Óscar Fernández bf31f7ff47
feat(theme-switcher)!: respect `theme_default` when JS is enabled (#224)
BREAKING CHANGE: changes the behaviour of `theme_default`
1 year ago
welpo c2664c85cd
📝 docs(shortcodes): link commit and PR for relative image paths 1 year ago
Óscar Fernández 7796162e37
feat: allow relative paths for image shortcodes (#222) 1 year ago
welpo 88240071c4
📝 chore(docs): update updated date 1 year ago
ZzMzaw b6fa54c556
feat(copyright): set copyright translations outside toml files & enhance $VARs (#215)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
Joberth Rogers de91dfb0a7
🐛 fix(footer): fix external link redirection in footer (#219)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
welpo a7d4120339
📝 docs(i18n): fix language switcher description
It no longer works on hover, but on click, as per #183.
1 year ago
Óscar Fernández de28c7fdeb
feat(comments): allow page override of global system (#216) 1 year ago
Óscar Fernández 8aabeaecc3
️ refactor: co-locate images (#200) 1 year ago
Óscar Fernández afbf4017e2
feat(theme-switcher): add theme reset button (#198) 1 year ago
Óscar Fernández 1bc52944c9
feat(footer): add configurable footer menu (#197) 1 year ago
Óscar Fernández 228f1ea6e5
feat: support privacy-respecting analytics (#193) 1 year ago
welpo 78fd8b8f0e
📝 docs(i18n): mention IETF BCP 47 codes 1 year ago
welpo 1bac809096
🔍️ chore(SEO): update social media cards 1 year ago
Óscar Fernández Vázquez 99b8972cf6
📝 docs: add guide to all of tabi's features (#169) 1 year ago
welpo 793b063c77
📝 docs(faq-languages): improve phrasing/translation 1 year ago
welpo cc029d0b19
🔍️ chore(SEO): update social media cards 1 year ago
Óscar 32a2d5094b
🌐 feat(i18n): overhaul translation system & add languages (#145)
Revamp the existing translation system, simplifying
management and adding several new languages. The new system reads from
TOML files in the `/i18n` directory and improves template structures.
It also enhances customisation options and robustness by providing
fallbacks and modularity.

- Implement a new, streamlined translation macro.
- Load translations from `/i18n` TOML files.
- Remove redundant configuration requirements.
- Refactor templates to align with new i18n system.
- Add support for Hindi, Japanese, Russian, Portuguese, Chinese,
  Italian, German, Ukranian, Korean, and French languages.
- Credit Thomas Weitzel (@thomasweitzel) for inspiration.
1 year ago
welpo 3f2e45601a
🐛 docs(ToC): fix broken code block 1 year ago
Óscar d6a5b1ab93
💄 style(code blocks): change syntax highlighting theme & text size (#131)
📝 docs: remove opening and closing +++ in TOML codeblocks
1 year ago
Óscar d53b8470a6
feat: add support for social media cards (#130) 1 year ago
Óscar f61c9ec309
feat(settings): add hierarchy-based setting overrides (#128) 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 151063d74b
feat(shortcode): add spoiler shortcode (#113) 2 years ago
welpo 427ffc7241
feat(footer/socials): add base64 encoded email protection 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 a47a8be011
🚸 docs: add ToC and quick navigation buttons 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 41009a50a1
📝 docs: clarify the 2 possible paths for custom skins 2 years ago
Óscar f8cce3001c
feat: introduce skins to customise the theme (#105) 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 e3ee95d718
💄 style: redesign block quotes 2 years ago
welpo 521a05b97f
📝 docs: improve Code tags example 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 a1ceb74785
💄 style: improve footnotes and `<hr>` styling
Fixes multiple footnotes having a horizontal line above each.
2 years ago
welpo 6b00aae20e
📝 docs: add Isso comments mention 2 years ago
welpo a201c05823
📝 docs: mention support for Isso comments 2 years ago
welpo 9a98789922
feat: add support for Isso comments 2 years ago
welpo b6f7f802b4
💄 docs: add code type to codeblock 2 years ago
welpo f859113c81
📝 docs: add Hyvor Talk comments mention 2 years ago
welpo 5d99da2cd0
📝 docs: remove `updated` date from examples 2 years ago
welpo f5e9ad8c8a
✏️ fix: replace "y" with "i" 2 years ago
welpo 31fee59eb2
📝 docs: update for Hyvor Talk support 2 years ago
welpo 7924e8206c
feat: add support for Hyvor Talk comments 2 years ago
welpo 5214dd3560
📝 docs: remove first header 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
welpo 19d120019b
feat: add support for giscus & utterances comments 2 years ago
welpo 33cfe77344
📝 docs: add code language to bash code blocks 2 years ago
welpo dcbb4c5290
📝 docs: remove `updated` date from example 2 years ago
welpo 1cd34b528e
📝 docs: improve KaTeX documentation 2 years ago
welpo 139ca042f4
📝 docs: set proper `updated` date 2 years ago
welpo 2dec139e41
feat: add copy button to code blocks 2 years ago
welpo fa5e21feea
💬 docs: translate 'Usage' header 2 years ago
welpo fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2 years ago
welpo 41c44d3d84
📝 docs: remove atom feed filter in script 2 years ago
welpo c7a411e157
📝 docs: add quotation marks to quotes 2 years ago
welpo ab29511d5e
feat: add multilingual quote shortcode 2 years ago
welpo f657010be4
️ docs: revert script changes 2 years ago
welpo 44980f1418
📝 docs: include layout features in font subset 2 years ago
welpo fa9229377d
feat: add multi-language support 2 years ago
welpo e316dc25ab
📝 docs: rephrase last sentence 2 years ago
welpo 3389638b06
✏️ docs: close codeblock 2 years ago
welpo 60680fad37
📝 docs: update URL 2 years ago
welpo 358e78d25a
📝 fix: remove extra backtick 2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
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
2 years ago
welpo 79f8559a3a
📝 docs: stylise KaTeX 2 years ago
welpo b841969a8f
feat(shortcodes): update image path retrieval and dimensions in shortcodes
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image

These changes reduce layout shifts.
2 years ago
welpo dcf1af5ec5
🐛 fix: remove double equals in updated field 2 years ago
welpo f9335b3fa4
feat: add KaTeX support 2 years ago
welpo 4d18be3a83
📝 fix: clarify requirements for A+ Observatory score 2 years ago
welpo 65a3fcebba
📝 fix: clarify requirements for A+ Observatory score 2 years ago
welpo 2a681f005f
📝 docs: replace "last lines" to "last directive" 2 years ago
welpo bfda1df9f3
📝 docs: use hierarchical headings 2 years ago
welpo 7532e0ab12
feat: add anchor header links on hover
Closes #64
2 years ago