dave-tucker / zola-clean-blog

A port of the StartBootsrap Clean Blog theme for Zola
MIT License
19 stars 19 forks source link

issues with copyright #1

Closed DyslexicAtheist closed 4 years ago

DyslexicAtheist commented 4 years ago

Hi,

sorry for the beginner question.

I'm trying to customize the theme following the instructions from the README.md, however when extending index.html exactly as outlined I get:

Error: Template 'index.html' is inheriting from 'themes/zola-clean-blog/templates/index.html', which doesn't exist or isn't loaded.

So I thought maybe I have to cp themes/zola-clean-blog/templates/index.html templates and just edit "my" version but that results in:

Error: Template `index.html` loads macros from `post_macros.html` which isn't present in Tera

thanks for any pointers.

DyslexicAtheist commented 4 years ago

I got it to work. The correct path has to be (without the themes/) - also note it's © instead of %copy;:

{% extends "zola-clean-blog/templates/index.html" %}
{% block copyright %}
© FOO 2020. All rights reerved.
{% endblock copyright %}