lvl0-website/themes/linkita/CHANGELOG.md

62 lines
3.9 KiB
Markdown

# Changelog
All notable changes to this theme will be documented in this file.
## [Unreleased](https://codeberg.org/salif/linkita/compare/v3.2025_04_22..linkita)
- Add `extra.taxonomy_sorting` config variable and sort terms in taxonomy pages by the number of posts by default.
- Add `newtab` bool to `project.links` in the projects shortcode.
- Add localization for Ukrainian, Kazakh, and Russian.
## [v3.2025_04_22](https://codeberg.org/salif/linkita/compare/v2.2025_04_02.0..v3.2025_04_22)
- Add frontmatter variables to override the `extra.style` config variable:
`extra.style.bg_color`, `extra.style.bg_dark_color`, `extra.style.header_color`, `extra.style.header_dark_color`.
- Allow `pages.html` and `archive.html` to be used in a section.
- Add `extra.relative_urls` config variable to use relative urls that do not contain the base url.
- Add `extra.urls_to_index_html` config variable to browse the site without a webserver.
- Remove the `date_format_archive` config variable and add `extra.date_format`
frontmatter variable for the `archive.html` template.
- Change the `extra.page_info` variable to an array of objects.
- Add `extra.page_info_on_paginator` config variable. The frontmatter variable is `extra.page_info`,
but its default value is not the `extra.page_info` config variable.
- Remove `extra.open_graph.video` and `extra.open_graph.audio` frontmatter variables.
- Use page slug in `archive.html` and `taxonomy_list.html` when page title is empty.
## [v2.2025_04_02.0](https://codeberg.org/salif/linkita/compare/v1.2025_01_04.0..v2.2025_04_02.0)
- Rename the local storage key for the color scheme.
- Always show translation button on bilingual pages.
- Add support for `extra.profile` frontmatter variable in the `pages.html` and `archive.html` templates.
- Remove `extra.open_graph.cover_type` frontmatter variable.
- Add localization for Simplified Chinese, Turkish, Arabic, Korean, Japanese, French, and Spanish.
- Add localization for Czech.
- Add `extra.post_navigation` config variable and reverse post navigation direction.
It can be reverted by setting `extra.post_navigation = "reversed"` config variable.
- Deprecate `extra.goatcounter.src` config variable.
- Add social icons for `linkedin`, `mastodon`, `matrix`, `youtube`.
- Self-host KaTeX, instantpage, and gc. It can be reverted by setting `extra.use_cdn = true` config variable.
- Rename `extra.open_graph.cover_width` frontmatter variable to `extra.cover.width` and
`extra.open_graph.cover_height` to `extra.cover.height`.
- Rename `extra.languages[lang].art_x_lang` config variable to `extra.languages[lang].language_code`.
- Convert the project template to shortcode. Use the `pages.html` template instead and
use `projects(path="data.toml", format="toml")` shortcode.
- Add `extra.toc` config and frontmatter variable. Table of contents can be disabled by setting to `false`.
It can be expanded by default by setting `toc = { open = true }`.
- Add `head_end` inject point and put `injects/head` before js and css files.
You may need to rename your `injects/head.html` file to `injects/head_end.html`.
- Remove the `extra.post_navigation` config variable and add `extra.invert_page_navigation` config variable.
- Remove the `email` and `url` config variables of `extra.profiles.your_username` as they are not used anywhere.
- Replace `taxonomy_list_description` with `taxonomy_descriptions[taxonomy.name]` and
`taxonomy_single_description` with `term_descriptions[taxonomy.name]`.
- Rename the `width-scroll` class to `horizontal-scroll`.
- Apply linebreaksbr and truncate to title and description in head.
- Add `extra.page_summary_on_paginator` config and frontmatter variable to prioritize summary over description.
## [v1.2025_01_04.0](https://codeberg.org/salif/linkita/compare/v0.2024_11_01.0..v1.2025_01_04.0)
See git commits.
## [v0.2024_11_01.0](https://codeberg.org/salif/linkita/compare/e8746d1a74..v0.2024_11_01.0)
See git commits.