gethugothemes / liva-hugo

Liva is a personal blog template powered by Hugo.
https://gethugothemes.com/products/liva/?utm_source=liva_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
276 stars 235 forks source link

Impossible to set content author #26

Closed yinonov closed 4 years ago

yinonov commented 4 years ago

I'm trying to set name of author in frontmatters but it seems that author is only fetched from site params {{ .Site.Params.Author }}

is there any way to override this in content pages?

somratpro commented 4 years ago

Yes, you can do it. make it {{ .Params.Author }} and set an author in post frontmattes.

yinonov commented 4 years ago

That means editing the theme’s code, which will harden the possibility for future updates of the sub module

somratpro commented 4 years ago

Hey there, I have added this feature. now you don't have to edit the theme's code.