diff --git a/README.md b/README.md index 53b2392..ae6c3d1 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ $accent-color: #HEX_COLOR_CODE; ### `[extra]` variables: - `accent_color`: Accent color used in some browsers set in metadata, for actual accent color see `themes/duckquill/sass/_variables.scss` +- `animated_favicon`: Specify if the favicon are animated GIF (true, false) - `blog_title`: The title of the blog, used in `/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 diff --git a/config.toml b/config.toml index 26426d2..cf346aa 100644 --- a/config.toml +++ b/config.toml @@ -23,8 +23,9 @@ smart_punctuation = true [extra] accent_color = "#ff7800" -blog_title = "Writings of Duck's Feet" +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/templates/includes/head.html b/templates/includes/head.html index dbd13ca..d20a251 100644 --- a/templates/includes/head.html +++ b/templates/includes/head.html @@ -9,8 +9,11 @@ + {% if config.extra.animated_favicon %} + {% else %} + {% endif %}