diff options
Diffstat (limited to '_includes/footer.html')
| -rw-r--r-- | _includes/footer.html | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index a23fda5..0000000 --- a/_includes/footer.html +++ /dev/null | |||
| @@ -1,77 +0,0 @@ | |||
| 1 | <!-- Global site tag (gtag.js) - Google Analytics --> | ||
| 2 | <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12769079-10"></script> | ||
| 3 | <script> | ||
| 4 | window.dataLayer = window.dataLayer || []; | ||
| 5 | function gtag() { | ||
| 6 | dataLayer.push(arguments); | ||
| 7 | } | ||
| 8 | gtag('js', new Date()); | ||
| 9 | gtag('config', 'UA-12769079-10'); | ||
| 10 | </script> | ||
| 11 | |||
| 12 | <!-- Responsive tables --> | ||
| 13 | <script> | ||
| 14 | document.querySelectorAll('table').forEach(function (element) { | ||
| 15 | if (!element.classList.contains('rouge-table')) { | ||
| 16 | let parent = element.parentNode; | ||
| 17 | let wrapper = document.createElement('div'); | ||
| 18 | wrapper.classList.add('responsive-table'); | ||
| 19 | parent.replaceChild(wrapper, element); | ||
| 20 | wrapper.appendChild(element); | ||
| 21 | } | ||
| 22 | }); | ||
| 23 | </script> | ||
| 24 | |||
| 25 | <!-- Open external links in new tab --> | ||
| 26 | <script> | ||
| 27 | let links = document.links; | ||
| 28 | for (let i = 0, linksLength = links.length; i < linksLength; i++) { | ||
| 29 | if (links[i].hostname != window.location.hostname) { | ||
| 30 | links[i].target = '_blank'; | ||
| 31 | links[i].setAttribute('rel', 'noopener'); | ||
| 32 | } | ||
| 33 | } | ||
| 34 | </script> | ||
| 35 | |||
| 36 | <!-- Linked data - Social profile --> | ||
| 37 | <script type="application/ld+json"> | ||
| 38 | { | ||
| 39 | "@context": "http://schema.org", | ||
| 40 | "@type": "Person", | ||
| 41 | "name": "Mitja Felicijan", | ||
| 42 | "jobTitle": "Embedded systems developer", | ||
| 43 | "url": "https://mitjafelicijan.com", | ||
| 44 | "sameAs": [ | ||
| 45 | "https://github.com/mitjafelicijan", | ||
| 46 | "https://twitter.com/mitjafelicijan", | ||
| 47 | "https://plus.google.com/+MitjaFelicijan" | ||
| 48 | ] | ||
| 49 | } | ||
| 50 | </script> | ||
| 51 | |||
| 52 | <!-- Service worker --> | ||
| 53 | <script> | ||
| 54 | if ('serviceWorker' in navigator) { | ||
| 55 | navigator.serviceWorker.register('/sw.js').then(function () { | ||
| 56 | console.log('Service Worker Registered'); | ||
| 57 | }); | ||
| 58 | } | ||
| 59 | </script> | ||
| 60 | |||
| 61 | <!-- MathJax --> | ||
| 62 | <script type="text/x-mathjax-config"> | ||
| 63 | MathJax.Hub.Config({ | ||
| 64 | TeX: { | ||
| 65 | equationNumbers: { | ||
| 66 | autoNumber: "AMS" | ||
| 67 | } | ||
| 68 | }, | ||
| 69 | tex2jax: { | ||
| 70 | inlineMath: [ ['$','$'], ['\\(', '\\)'] ], | ||
| 71 | displayMath: [ ['$$','$$'] ], | ||
| 72 | processEscapes: true, | ||
| 73 | } | ||
| 74 | }); | ||
| 75 | </script> | ||
| 76 | <script src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" async></script> | ||
| 77 | |||
