_footer.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php if($bodyclasses != 'home page'): ?>
  2. <article class="pt-8 pb-4 print:hidden">
  3. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  4. <!-- af-footer -->
  5. <ins class="adsbygoogle"
  6. style="display:block"
  7. data-ad-client="ca-pub-5066013786478491"
  8. data-ad-slot="7289960963"
  9. data-ad-format="auto"></ins>
  10. <script>
  11. (adsbygoogle = window.adsbygoogle || []).push({});
  12. </script>
  13. <p class="text-xs text-gray-600 text-center">Ads help me keep this site up :) If you see a blank space up here, please disable your ad blocker.</p>
  14. </article>
  15. <?php endif ?>
  16. </div> <!-- #inner_box -->
  17. </div> <!-- #main_flex -->
  18. </div> <!-- #content_box -->
  19. <footer id="site_footer" class="bg-black border-t border-gray-900 text-white text-xs text-darkerLinks print:hidden">
  20. <div class="footer_body max-w-screen-md mx-auto px-4 sm:px-0 py-4 grid grid-cols-1 sm:grid-cols-6">
  21. <div class="col-start-1 col-span-1">
  22. <p><a href="<?=$baseurl?>colophon">About this site</a></p>
  23. </div>
  24. <div class="col-start-1 col-span-1 sm:col-start-2 sm:col-span-5">
  25. <p class="mt-2 sm:mt-0 sm:text-right">Unless otherwise specified, the content of this site is licensed as <a href="//creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>.</p>
  26. </div>
  27. </div>
  28. </footer>
  29. <!-- Global site tag (gtag.js) - Google Analytics -->
  30. <!-- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1176762-5"></script>
  31. <script>
  32. window.dataLayer = window.dataLayer || [];
  33. function gtag(){dataLayer.push(arguments);}
  34. gtag('js', new Date());
  35. gtag('config', 'UA-1176762-5');
  36. </script> -->
  37. <!-- Matomo -->
  38. <script>
  39. var _paq = window._paq = window._paq || [];
  40. /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  41. _paq.push(['trackPageView']);
  42. _paq.push(['enableLinkTracking']);
  43. (function() {
  44. var u="https://matomo.morpheu5.net/";
  45. _paq.push(['setTrackerUrl', u+'matomo.php']);
  46. _paq.push(['setSiteId', '1']);
  47. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  48. g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  49. })();
  50. </script>
  51. <!-- End Matomo Code -->
  52. </body>
  53. </html>