gokarna-theme / gokarna-hugo

A minimal opinionated theme for Hugo
https://gokarna-hugo.netlify.app
GNU General Public License v3.0
358 stars 140 forks source link

Add .Site.Copyright support #118

Closed jamesericdavidson closed 2 years ago

jamesericdavidson commented 2 years ago

As mentioned in #111, .Site.Copyright is a Hugo variable.

Will you accept a PR which adds this string to the footer? I have one ready to go.

526avijitgupta commented 2 years ago

We already add copyright with a year. If someone wants to update this in the future, we'll encapsulate it into the footerHTML.

jamesericdavidson commented 2 years ago

We already add copyright with a year

The <footer> uses {{ now.Year }}, which is not applicable to anything made in the past or future, hence the interest in adding it:

I understand that you don't want to support this, just throwing my hat into the ring. Have a good one.