Merge branch 'main' into main

This commit is contained in:
apisashla
2025-04-22 03:53:41 +00:00
4 changed files with 19 additions and 5 deletions

View File

@ -5,7 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased](https://codeberg.org/daudix/duckquill/compare/v6.1.1...main)
## [Unreleased](https://codeberg.org/daudix/duckquill/compare/v6.3.0...main)
## [v6.3.0](https://codeberg.org/daudix/duckquill/compare/v6.2.0...v6.3.0) - 2025-04-19
### Added
- Add German translation (#130).
### Fixed
- Output an error message if title is not set in `config.toml` (#129).
## [v6.2.0](https://codeberg.org/daudix/duckquill/compare/v6.1.1...v6.2.0) - 2025-03-30

View File

@ -66,7 +66,7 @@ It is highly recommended to switch from the `main` branch to the latest release:
```bash
cd themes/duckquill
git checkout tags/v6.2.0
git checkout tags/v6.3.0
```
Then, enable it in your `config.toml`:
@ -80,7 +80,7 @@ To update the theme, simply switch to a new tag:
```bash
git submodule update --remote --merge
cd themes/duckquill
git checkout tags/v6.2.0
git checkout tags/v6.3.0
```
{% alert(important=true) %}

View File

@ -1,5 +1,5 @@
/*!
* Duckquill v6.2.0 (https://duckquill.daudix.one)
* Duckquill v6.3.0 (https://duckquill.daudix.one)
* Copyright 2024-2025 David "Daudix" Lapshin
* Licensed under MIT (https://codeberg.org/daudix/duckquill/src/branch/main/LICENSE)
*/

View File

@ -1,7 +1,11 @@
{# Taken from https://github.com/welpo/tabi/blob/69713c973c11d7646c8fe56476261d96cc1978d8/templates/partials/title.html #}
{#- Setup -#}
{%- if config.title -%}
{%- set suffix = config.title | safe -%}
{%- else -%}
{{- throw(message='Title has not been set in config.toml, Please set one.') -}}
{%- endif -%}
{%- set custom_separator = config.extra.title_separator | default(value="-") -%}
{%- set separator = " " ~ custom_separator ~ " " -%}