jk.nipponalba.scot website https://jk.nipponalba.scot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

27 lines
1.3 KiB

4 years ago
5 years ago
4 years ago
5 years ago
  1. <footer id="footer">
  2. &copy; {{ now.Format "2006"}} | <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC-BY 4.0</a> | <a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-fw" aria-hidden="true" title="Blog RSS feed"></i></a><br/>
  3. <img src="{{ .Site.Params.siteLogo | absURL }}" alt="nipponalba logo" id="logo"><br/>
  4. Made with ❤ and <a href="https://gohugo.io/">Hugo</a> by {{ .Site.Params.author }}<br/>
  5. <a href="https://xn--sr8hvo.ws/%F0%9F%88%B8%F0%9F%91%98%F0%9F%91%A5/previous"></a>
  6. An IndieWeb Webring 🕸💍
  7. <a href="https://xn--sr8hvo.ws/%F0%9F%88%B8%F0%9F%91%98%F0%9F%91%A5/next"></a>
  8. </footer>
  9. <script>
  10. // This code is only used to remember theme selection between page loads
  11. const themeSwitch = document.querySelector('.theme-switch');
  12. themeSwitch.checked = localStorage.getItem('switchedTheme') === 'true';
  13. themeSwitch.addEventListener('change', function(e) {
  14. if (e.currentTarget.checked === true) {
  15. // Add item to localstorage
  16. localStorage.setItem('switchedTheme', 'true');
  17. } else {
  18. // Remove item if theme is switched back to normal
  19. localStorage.removeItem('switchedTheme');
  20. }
  21. });
  22. </script>
  23. </body>
  24. </html>