summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html6
-rw-r--r--templates/page.html14
2 files changed, 10 insertions, 10 deletions
diff --git a/templates/index.html b/templates/index.html
index 9066226..01d448e 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -34,7 +34,7 @@
{% block header %}
{% endblock header %}
-
+
{% block title %}
<div id="spotlight" class="animated fadeIn">
<div id="home-center">
@@ -52,7 +52,7 @@
</nav>
{% endblock main %}
</div>
-
+
{% block footer %}
<div id="home-footer">
<p>&copy; {{ now() | date(format="%Y")}}
@@ -66,7 +66,7 @@
</div>
{% endblock footer %}
</div>
-
+
<script src="{{get_url(path="js/main.js")}}"></script>
<!-- Math rendering -->
diff --git a/templates/page.html b/templates/page.html
index bd58389..9dfe800 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -10,7 +10,7 @@
<a href="{{ config.base_url}}">{{ config.title }}</a>
</div>
<nav class="site-nav hide-in-mobile">
-
+
{% for menu_item in config.extra.hermit_menu %}
<a href="{{ config.base_url ~ menu_item.link }}">{{ menu_item.name }}</a>
{% endfor %}
@@ -64,9 +64,9 @@
{% endif %}
{% if page.extra.toc %}
<button id="toc-btn" class="hdr-btn desktop-only-ib">
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
- viewBox="0 0 24 24" fill="none" stroke="currentColor"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
+ viewBox="0 0 24 24" fill="none" stroke="currentColor"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-list">
<line x1="8" y1="6" x2="21" y2="6"></line>
<line x1="8" y1="12" x2="21" y2="12"></line>
@@ -82,7 +82,7 @@
</header>
<div class="content">
-
+
{{ page.content | safe }}
</div>
<hr class="post-end">
@@ -126,7 +126,7 @@
</div>
</aside>
{% endif %}
-
+
<div class="post-nav thin">
{% if page.later %}
<a class="next-post" href="{{ page.later.permalink }}">
@@ -152,7 +152,7 @@
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
-
+
(function() { // DON'T EDIT BELOW THIS LINE
var disqus_config = function () {
this.page.url = "{{ page.permalink }}"; // Replace PAGE_URL with your page's canonical URL variable