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.

24 lines
1.1 KiB

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