feat: Move blog title and description to the section index
This commit is contained in:
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -1,9 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ config.extra.blog_title }}</h1>
|
||||
<h1>{{ section.title }}</h1>
|
||||
|
||||
<p>{{ config.extra.blog_description }}</p>
|
||||
<p>{{ section.description }}</p>
|
||||
|
||||
<small>
|
||||
<a class="link-page" href="{{ config.base_url }}/tags">Filter by tag</a>
|
||||
|
Reference in New Issue
Block a user