The main.js
file isn’t used at the moment, but I keep it around so people can see the default Hugo message.
Source code #
console.log('This site was generated by Hugo.');
// grab all the svgs
// get all the divs with the class of svg-icon
const svgIcons = document.querySelectorAll('.svg-icon');
console.log(svgIcons);