zeon-studio / hugoplate

Hugoplate is a free starter template built with Hugo and TailwindCSS that will save you hours of work.
https://zeon.studio/preview?project=hugoplate
MIT License
844 stars 233 forks source link

Should we add git info to the footer ? #148

Closed gedw99 closed 3 weeks ago

gedw99 commented 3 weeks ago

But I dont see it anywhere in the Web GUI of exampleSite or Hugo modules.. Maybe I missed it.

https://gohugo.io/methods/page/gitinfo/ explains the meta ...

Seems to me that it could be cool to add this to the footer ?

gedw99 commented 3 weeks ago

looks like https://github.com/zeon-studio/hugoplate/blob/main/layouts/partials/essentials/footer.html is the right place ?

the footer on each page

tfsomrat commented 3 weeks ago

I didn't get your point. can you explain what is the issue here?

gedw99 commented 3 weeks ago

Apologies .

I messed up the heading !! Will fix ..

gedw99 commented 3 weeks ago

Ok I fixed the issue .

am just thinking it would be highly useful if we could show the git version on each page …

Each page will probably show the same version because it’s going to , I assume , be a global version number . So that’s why I suggested that the footer is a good place .

tfsomrat commented 3 weeks ago

It's a startup template, and you must build your own functionality. thanks

gedw99 commented 3 weeks ago

It’s an easy change in footer if that’s where you want it .

Or you prefer to not have this feature in mail line ?