hugo-profile
hugo-profile copied to clipboard
Added animation toggle option
Hi, I added a toggle option in the config file which toggles whether the fading animations (enabled by default) should be applied on the home page or not.
How it works: I changed index.css so that the animation properties are only applied to elements that also have the class .animate. Then in the template files, I conditionally applied the .animate class to the animated elements only if the config option is enabled. Also, I set the social media icons to have display: block by default if the animate option is disabled, so there is no delay before they appear.