theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.09k stars 1.12k forks source link

Limit footer to bottom #670

Open LageTs opened 6 months ago

LageTs commented 6 months ago

Hello everyone!

I also discovered what is already topic in https://github.com/theNewDynamic/gohugo-theme-ananke/issues/502 and wanted to fix this problem:

When the content of a page is so small that the full page is smaller than the view-port the footer is not at the bottom.

With those little changes the page will be at least the size of the view-port and the space between content and footer is automatically a fitting margin at the top of the footer.

Same idea was also mentioned by https://github.com/Altonss

netlify[bot] commented 6 months ago

Deploy Preview for gohugo-ananke-theme-demo canceled.

Name Link
Latest commit d99383be21084950269efd5dd218a1a43a4bc8de
Latest deploy log https://app.netlify.com/sites/gohugo-ananke-theme-demo/deploys/659978475fce780008f33d96
ramiro commented 2 months ago

Perhaps worth mentioning is that for this issue to manifest (or at least to increase the chance of this) there should be no featured_image defined that pushes the post body to the bottom.

e.g. commenting this out in the example site: https://github.com/theNewDynamic/gohugo-theme-ananke/blob/f34c219436ab1c3b116f8706a521d40c4b8693b9/exampleSite/content/en/_index.md?plain=1#L8