diff --git a/README.md b/README.md index 2a87d10..9095e74 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,6 @@ Set any color in `$primary-color` and reload, the primary color should be used n - `primary_color`: Primary color used in some browsers set in metadata, see [#primary-color](https://git.exozy.me/daudix/duckquill#primary-color) - `animated_favicon`: Specify if the favicon are animated GIF (true, false) -- `blog_title`: The title of the blog -- `blog_description`: The description of the blog, displayed right under the blog title - `date_format`: Allows setting custom date format in [Tera](https://keats.github.io/tera) format, all available variables are listed [here](https://docs.rs/chrono/0.4.31/chrono/format/strftime/index.html). Does not apply to comments - `hosting`: Where the website source are located, used on 404 page - `issues_url`: Link to site bug tracker, if present diff --git a/config.toml b/config.toml index 09463ef..e3d0dad 100644 --- a/config.toml +++ b/config.toml @@ -24,8 +24,6 @@ smart_punctuation = true [extra] primary_color = "#ff7800" animated_favicon = false -blog_description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo" -blog_title = "Writings of Duck's Feet" date_format = "%d %B %Y" hosting = "Codeberg" issues_url = "https://git.exozy.me/daudix/duckquill/issues" diff --git a/content/blog/_index.md b/content/blog/_index.md index 676d150..113e1bf 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,4 +1,6 @@ +++ +title = "Writings of Duck's Feet" +description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo" sort_by = "date" template = "blog_list.html" page_template = "blog.html" diff --git a/templates/blog_list.html b/templates/blog_list.html index c39ec7b..b91845b 100644 --- a/templates/blog_list.html +++ b/templates/blog_list.html @@ -1,9 +1,9 @@ {% extends "base.html" %} {% block content %} -
{{ config.extra.blog_description }}
+{{ section.description }}
Filter by tag