mrmierzejewski / hugo-theme-console

Minimal and responsive Hugo theme inspired by the system console, crafted for optimal performance with an average page load time of under one second.
MIT License
449 stars 129 forks source link

Disable animation on page load #11

Closed joshlawrence closed 4 years ago

joshlawrence commented 4 years ago

Hello!

Is it possible to disable the page load animation? If so, could you point me to the right place to look?

I found what appears to be the css library you're using to do the animations:

https://animate.style/

I don't mind doing the homework to figure it out, if you can just get me started by pointing me in the right direction. :)

I love the theme; thank you for publishing it!

Josh

joshlawrence commented 4 years ago

Well I may have answered my own question: I simply moved animate-3.7.2.min.css out of the css directory, and the theme still works great. As long as there's nothing I'm missing, this should work for me!

mrmierzejewski commented 4 years ago

Hi @joshlawrence,

If you want to disable the page animation, please change the following line: https://github.com/mrmierzejewski/hugo-theme-console/blob/7b57070c632a115e2f603742546dc1b6aef5504e/layouts/_default/baseof.html#L50

to

<div class="container">

Best regards, Marcin