Update information referring to Duckquill #4
Some checks are pending
Publish / publish (push) Waiting to run
Some checks are pending
Publish / publish (push) Waiting to run
This commit is contained in:
parent
5d621bc729
commit
de1bf9cd21
@ -53,9 +53,9 @@ accent_color_dark = "#ffa348"
|
||||
# emoji_favicon = "🦆🪶"
|
||||
#
|
||||
# URL to website's issue tracker
|
||||
issues_url = "https://codeberg.org/daudix/duckquill/issues"
|
||||
issues_url = "https://git.aparoksha.dev/david-swift/duckling/issues"
|
||||
# URL to website's source code
|
||||
source_url = "https://codeberg.org/daudix/duckquill"
|
||||
source_url = "https://git.aparoksha.dev/david-swift/duckling"
|
||||
# Additional CSS styles; expects them to be in the "./static/" directory.
|
||||
# If you are using Sass it will be generated there automatically.
|
||||
#
|
||||
@ -151,6 +151,7 @@ links = [
|
||||
links = [
|
||||
{ url = "@/blog/_index.md", name = "Blog" },
|
||||
{ url = "@/subprojects/_index.md", name = "Subprojects" },
|
||||
{ url = "@/docs/overview/index.md", name = "Docs" },
|
||||
{ url = "@/demo/index.md", name = "Demo" },
|
||||
{ url = "https://mastodon.de/@david_swift", name = "Developer" }
|
||||
]
|
||||
@ -198,7 +199,7 @@ show_qr = true
|
||||
# host = "YOUR_SERVER"
|
||||
#
|
||||
# Your GoatCounter username
|
||||
user = "duckquill"
|
||||
user = "duckling"
|
||||
|
||||
[extra.debug]
|
||||
# Display outlines around all elements for debugging purposes
|
||||
|
||||
@ -13,7 +13,7 @@ jgs~^~^`---'~^~^~^`---'~^~^~^`---'~^~^~^`---'~^~^~^`---'~^~^~
|
||||
|
||||
# Duckling
|
||||
|
||||
Duckquill is an minimal and feature-rich [Zola](https://www.getzola.org) theme that has the purpose of greatly simplifying the process of rolling up your project website. It aims to provide all the necessary options for comfortable writing, while keeping the balance of simplicity.
|
||||
Duckling is an minimal and feature-rich [Zola](https://www.getzola.org) theme that has the purpose of greatly simplifying the process of rolling up your project website. It aims to provide all the necessary options for comfortable writing, while keeping the balance of simplicity.
|
||||
|
||||
It is based on the [Duckquill](https://duckquill.daudix.one) theme for blogs.
|
||||
|
||||
@ -111,13 +111,12 @@ Other variables:
|
||||
- `archive`: Displays an archived message.
|
||||
- `trigger`: Displays a trigger warning message.
|
||||
- `disclaimer`: Displays a disclaimer message.
|
||||
|
||||
<!-- TODO: Add instructions for documentation and subprojects -->
|
||||
- `left_align_badges`: Left-align badges in subprojects lists.
|
||||
- `hide_subproject_tags`: Hide the link to the list of tags in subprojects lists.
|
||||
- `hide_number_of_subprojects`: Hide the subprojects counter in a subproject list.
|
||||
|
||||
### Blog Post Specific
|
||||
|
||||
<!-- TODO: Check archived/featured/hot/poor -->
|
||||
|
||||
- `banner`: Filename of the [colocated](https://www.getzola.org/documentation/content/overview/#asset-colocation) banner image. Recommended dimensions are 2:1 aspect ratio and 1920x960 resolution.
|
||||
- `banner_pixels` Makes the banner use nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.
|
||||
- `archived`: Make the post visually stand out in the post list. Also accepts message as a value.
|
||||
@ -131,6 +130,29 @@ In `[extra.comments]` section:
|
||||
- `user`: The username of the poster.
|
||||
- `id`: ID of the post; the one in the URL.
|
||||
|
||||
### Subproject Specific
|
||||
|
||||
All the options for blog posts are available for subprojects as well.
|
||||
|
||||
Additionally, you can use the following front matter variables:
|
||||
|
||||
- `preview`: Filename of the image displayed in the subprojects list.
|
||||
- `expand`: Make the subproject use the full width in the subprojects list.
|
||||
- `url`: Instead of showing the page's content, redirect from the subprojects list to the given URL.
|
||||
- `badge`: A label displayed in the item's corner in the subprojects list.
|
||||
|
||||
### Documentation Page Specific
|
||||
|
||||
All the options for blog posts are avilable for documentation pages as well.
|
||||
|
||||
Additionally, you can use the following front matter variables:
|
||||
|
||||
- `section`: Assign the page to the section with the given index. The sections are defined in the Zola section (the `_index.md`). Use `0` to place it above all the sections.
|
||||
|
||||
### Documentation Specific
|
||||
|
||||
- `sections`: The sections available in the documentation.
|
||||
|
||||
### Localization
|
||||
|
||||
Duckling ships with a localization system based on one used in [tabi](https://github.com/welpo/tabi), it's very easy to use and quite flexible at the same time.
|
||||
@ -192,6 +214,8 @@ Files named `favicon.png` and `apple-touch-icon.png` are used as favicon and App
|
||||
|
||||
## In the Wild
|
||||
|
||||
- [aparoksha.dev](https://aparoksha.dev)
|
||||
- [david.aparoksha.dev](https://david.aparoksha.dev)
|
||||
- [duckling.aparoksha.dev](https://duckling.aparoksha.dev)
|
||||
- Yours? <small>(feel free to send a pull request)</small>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
+++
|
||||
authors = ["Scrooge McDuck", "Darkwing Duck"]
|
||||
title = "The Quill of Duck"
|
||||
description = "This is a Duckquill post example, this post has nothing but a bunch of text and random formatting, acting like a demo."
|
||||
description = "This is a Duckling post example, this post has nothing but a bunch of text and random formatting, acting like a demo."
|
||||
date = 2023-08-31
|
||||
updated = "2024-06-21"
|
||||
[taxonomies]
|
||||
@ -59,7 +59,7 @@ Other sizes will also work, but will be cut off at the bottom/won't be high enou
|
||||
|
||||
## The what?
|
||||
|
||||
This is a Duckquill post example, this post has nothing but a bunch of text and random formatting, acting like a demo.
|
||||
This is a Duckling post example, this post has nothing but a bunch of text and random formatting, acting like a demo.
|
||||
|
||||
## Some info
|
||||
|
||||
|
||||
@ -92,7 +92,7 @@ pre table td:nth-of-type(1) {
|
||||
|
||||
### KaTeX
|
||||
|
||||
Duckquill can render LaTeX using the [KaTeX](https://katex.org) library. It can be enabled using the `extra.katex` config variable.
|
||||
Duckling can render LaTeX using the [KaTeX](https://katex.org) library. It can be enabled using the `extra.katex` config variable.
|
||||
|
||||
```latex
|
||||
$$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi)\,e^{2 \pi i \xi x}\,d\xi$$
|
||||
@ -108,7 +108,7 @@ $\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi)\,e^{2 \pi i \xi x}\,d\xi$
|
||||
|
||||
### Shortcodes
|
||||
|
||||
Duckquill provides a few useful [shortcodes](https://www.getzola.org/documentation/content/shortcodes/) that simplify some tasks. They can be used on all pages.
|
||||
Duckling provides a few useful [shortcodes](https://www.getzola.org/documentation/content/shortcodes/) that simplify some tasks. They can be used on all pages.
|
||||
|
||||
#### Alerts
|
||||
|
||||
@ -625,7 +625,7 @@ Blah blah <q>Inline Quote</q> hmm.
|
||||
<span class="spoiler">Some spoiler</span>
|
||||
```
|
||||
|
||||
You know, <span class="spoiler">Duckquill is a pretty dumb name.</span> I know, crazy.
|
||||
You know, <span class="spoiler">Is Duckling a pretty dumb name?</span> I know, crazy.
|
||||
|
||||
With `solid` class:
|
||||
|
||||
@ -633,7 +633,7 @@ With `solid` class:
|
||||
<span class="spoiler solid">Some spoiler</span>
|
||||
```
|
||||
|
||||
You know, <span class="spoiler solid">Duckquill is a pretty dumb name.</span> I know, crazy.
|
||||
You know, <span class="spoiler solid">Is Duckling a pretty dumb name?</span> I know, crazy.
|
||||
|
||||
### Buttons Dialog
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
/*!
|
||||
* Duckquill v6.1.1 (https://duckquill.daudix.one)
|
||||
* Copyright 2024 David "Daudix" Lapshin
|
||||
* Licensed under MIT (https://codeberg.org/daudix/duckquill/src/branch/main/LICENSE)
|
||||
* Licensed under MIT (https://git.aparoksha.dev/david-swift/duckling/src/branch/main/LICENSE.md)
|
||||
*/
|
||||
|
||||
@use "normalize";
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
{%- set language_strings = load_data(path="i18n/" ~ lang ~ '.toml', required=false) -%}
|
||||
{%- if not language_strings -%}
|
||||
{%- set language_strings = load_data(path="themes/duckquill/i18n/" ~ lang ~ ".toml", required=false) -%}
|
||||
{%- set language_strings = load_data(path="themes/duckling/i18n/" ~ lang ~ ".toml", required=false) -%}
|
||||
{%- endif -%}
|
||||
{%- set rtl_languages = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] -%}
|
||||
|
||||
|
||||
@ -46,8 +46,8 @@
|
||||
<p>
|
||||
<small>
|
||||
{%- set zola_link = '<a class="link external" href="https://www.getzola.org" rel="' ~ rel_attributes ~ '">Zola</a>' -%}
|
||||
{%- set duckquill_link = '<a class="link external" href="https://duckling.aparoksha.dev" rel="' ~ rel_attributes ~ '">Duckling</a>' -%}
|
||||
{{ macros_translate::translate(key="powered_by", default="Powered by $ZOLA and $DUCKQUILL", language_strings=language_strings) | replace(from="$ZOLA", to=zola_link) | replace(from="$DUCKQUILL", to=duckquill_link) | safe }}
|
||||
{%- set duckling_link = '<a class="link external" href="https://duckling.aparoksha.dev" rel="' ~ rel_attributes ~ '">Duckling</a>' -%}
|
||||
{{ macros_translate::translate(key="powered_by", default="Powered by $ZOLA and $DUCKLING", language_strings=language_strings) | replace(from="$ZOLA", to=zola_link) | replace(from="$DUCKLING", to=duckling_link) | safe }}
|
||||
</small>
|
||||
</p>
|
||||
{%- endif %}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
{#- Dynamically load the language strings for each language -#}
|
||||
{%- set other_language_strings = load_data(path="i18n/" ~ lcode ~ ".toml", required=false) -%}
|
||||
{%- if not other_language_strings -%}
|
||||
{%- set other_language_strings = load_data(path="themes/duckquill/i18n/" ~ lcode ~ ".toml", required=false) -%}
|
||||
{%- set other_language_strings = load_data(path="themes/duckling/i18n/" ~ lcode ~ ".toml", required=false) -%}
|
||||
{%- endif -%}
|
||||
{#- Use the loaded language strings to get the language name -#}
|
||||
{% set language_name = macros_translate::translate(key="language_name", default=lcode, language_strings=other_language_strings) %}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
{%- set language_strings = load_data(path="i18n/" ~ lang ~ '.toml', required=false) -%}
|
||||
{%- if not language_strings -%}
|
||||
{%- set language_strings = load_data(path="themes/duckquill/i18n/" ~ lang ~ ".toml", required=false) -%}
|
||||
{%- set language_strings = load_data(path="themes/duckling/i18n/" ~ lang ~ ".toml", required=false) -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if note -%}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user