1,2c1,8 < {{- if not (.Param "hideFooter") }} < <footer class="footer"> --- > {{- if not ( .Param "hideFooter") }} > <!-- Added fixed padding --> > <footer class="footer" style="padding-top: 18px; padding-bottom: 18px"> > <!-- No social icons in footer of profile mode homepage (icons are already in page content) --> > {{- if not (and site.Params.profileMode.enabled .IsHome) }} > {{- partial "social_icons.html" site.Params.socialIcons -}} > {{- end }} > 7a14,16 > > <!-- Don't display Powered by Hugo & PaperMod on homepage --> > {{- if not .IsHome }} 8a18,19 > <!-- Add separator character --> > • 10,11c21,30 < <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & < <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> --- > <!-- Remove target="_blank", which opens in new window or tab. > Also remove rel="noopener noreferrer" --> > <a href="https://gohugo.io/">Hugo</a> & > <a href="https://github.com/adityatelange/hugo-PaperMod/">PaperMod</a> > </span> > {{- end }} > <!-- Add Privacy Policy link on every page --> > <span> > • > <a href="/privacy">Privacy Policy</a> 135a155,170 > > {{/* Clear ToC Scroll */}} > {{/* Source: https://github.com/reorx/hugo-PaperModX/blob/master/layouts/partials/footer.html */}} > {{/* Disabled until I figure out https://github.com/jesse-wei/jessewei.dev-PaperMod/issues/25 */}} > > <!-- <script> > if (window.scrollListeners) { > // console.log('disable toc scroll', scrollListeners) > for (const listener of scrollListeners) { > window.removeEventListener('scroll', listener) > } > } > window.scrollListeners = [] > </script> --> > > {{/* End ToC Scroll */}}