diff --git a/README.md b/README.md index c46b6f0..6991e3f 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,17 @@ highlight_themes_css = [ ] ``` +## Custom Footer Content +To overwrite the default footer (copyright notice), extend the `layout.html` template of the theme as described in the [Zola documentation](https://www.getzola.org/documentation/themes/extending-a-theme/#overriding-a-block) by creating a `layout.html` with the following content in your `templates` directory: + +```jinja +{% extends "blow/templates/layout.html" %} + +{% block content_footer %} +Here is my own footer with a link. +{% endblock %} +``` + ## Features - [X] Dark/Light modes (with syntax highlighting depending on selected theme) - [X] Customizable navbar links diff --git a/templates/layout.html b/templates/layout.html index cafadf9..0db7fb1 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -297,7 +297,9 @@

+ {% block content_footer %} © {{ now() | date(format="%Y") }} blow theme made with tailwindcss for Zola + {% endblock %}