summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-03-02 13:17:26 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-03-02 13:17:26 +0200
commit17dae0eaa459fdabafff1a05c524cb263b7018f6 (patch)
tree6858784b91d62d36a6c226b83cb0b7540df7c423 /templates/page.html
parent8ee207dc1034eeeb8f48c0c9ca58c6f29df95ae7 (diff)
Modularity within config.toml to allow for meta tag customizations.
Changes to be committed: modified: config.toml modified: rsync_to_testing modified: templates/404.html modified: templates/index.html modified: templates/page.html modified: templates/tags/single.html
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/page.html b/templates/page.html
index eb7d141..67bdddb 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -52,7 +52,7 @@
<div class="post-meta">
{% if page.date %}
- <span>{{ page.date | date(format="%b %d, %Y")}}</span>
+ <span>{{ page.date | date(format="%b %d, %Y") }}</span>
<small> - {{ macros::read_time(words=page.word_count) }}</small>
{% endif %}
@@ -96,7 +96,7 @@
{% for k, tags in page.taxonomies %}
{% for t in tags %}
<span class="tag">
- <a href="{{get_taxonomy_url(kind="tags", name=t)}}">{{t}}</a>
+ <a href="{{ get_taxonomy_url(kind="tags", name=t) }}">{{ t }}</a>
</span>
{% endfor %}
{% endfor %}
@@ -142,12 +142,12 @@
<ul>
{% for h1 in page.toc %}
<li>
- <a href="{{h1.permalink | safe}}">{{ h1.title }}</a>
+ <a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
{% if h1.children %}
<ul>
{% for h2 in h1.children %}
<li>
- <a href="{{h2.permalink | safe}}">{{ h2.title }}</a>
+ <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
</li>
{% endfor %}
</ul>
@@ -204,7 +204,7 @@
this.page.identifier = "{{ page.extra.permalink }}";
};
var d = document, s = d.createElement('script');
- s.src = 'https://{{config.extra.disqus.shortname}}.disqus.com/embed.js';
+ s.src = 'https://{{ config.extra.disqus.shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', + new Date());
(d.head || d.body).appendChild(s);
})();