Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

main.html 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% extends "base.html" %}
  2. {% block extrahead %}
  3. <meta property="og:title" content="{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}">
  4. <meta property="og:description" content="{{ config.site_description }}">
  5. <meta property="og:url" content="{{ config.site_url }}">
  6. <meta property="og:type" content="website">
  7. <meta property="og:locale" content="en_US">
  8. <meta property="robots" content="index, follow">
  9. {% endblock %}
  10. {% block libs %}
  11. {{ super() }}
  12. <script data-goatcounter="https://encantar-js.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
  13. {% endblock %}
  14. {% block content %}
  15. {{ super() }}
  16. {% endblock %}
  17. {% block footer %}
  18. <button id="support-button" onclick="document.getElementById('support-widget').classList.toggle('invisible')">
  19. &#x1F468;&#x200D;&#x1F4BB; Need help?
  20. </button>
  21. <section id="support-widget" class="md-typeset invisible">
  22. <h4>Technical support</h4>
  23. <p>Get expert guidance by contacting <a href="#" class="support-link" id="technical-support-widget" data-goatcounter-click></a>.</p>
  24. <p>Not a technical person? Get help with installation, maintenance, custom development and more. <a href="#" class="support-link" id="technical-support-widget-services" data-goatcounter-click>Contact support</a> for professional services.</p>
  25. </section>
  26. <script>
  27. document.addEventListener('DOMContentLoaded', function() {
  28. var salad = 'nbjmup;tvqqpsuAfodboubs/efw';
  29. var link = salad.split('').map(c => String.fromCharCode(c.charCodeAt(0)-1)).join('');
  30. document.querySelectorAll('a.support-link').forEach(function(a) {
  31. a.href = link;
  32. if(a.innerText.length == 0)
  33. a.innerText = link.substring(7);
  34. });
  35. });
  36. </script>
  37. {{ super() }}
  38. {% endblock %}