Closed a-p-o closed 4 years ago
Hi @a-p-o, I don't entirely understand your question. Both lines you have highlighted refer to the same variable:
{{ .Site.Params.Author }}
.
Is your question that the instructions in the README seem to be wrong? The README says you need:
[Author]
name = "..."
but the code seems to refer to:
[Params]
Author = "..."
I have to admit that does look weird to me. 🙂 Could you clarify the question, please, so that I can investigate?
Hi @EmielH, I can understand your confusion—I should have double-checked my links! I meant to link to this commit https://github.com/EmielH/tale-hugo/commit/a4040547736578f6baf05b41b6a5ecd52ff2f77b instead of that footer partial.
Since the footer partial is using Site.Author.name
to adhere to hugo standards, does it make sense to use Site.Author.name
in partials/single/post-info.html
as well?
Thank you for clarifying! You are correct, I must have overlooked this when changing the footer. I will change it in the post info as well. Thanks a lot for filing this bug!
Hi @a-p-o, apologies for the delay. I've just pushed this change. You shouldn't need .Site.Params.Author
anymore. Could you check if it works for you? Thanks!
@EmielH, looks good! Thanks!
I am trying to understand the difference between these fields.