commit ffb7a066e23ce0dd0a5479e7a28c25ec1ecf1908
parent d406b13bb91405f1c78f48e6e42422d6245163d2
Author: FIGBERT <figbert@figbert.com>
Date: Fri, 28 May 2021 22:46:07 -0700
Update templates/article.html
Diffstat:
1 file changed, 8 insertions(+), 62 deletions(-)
diff --git a/templates/article.html b/templates/article.html
@@ -1,65 +1,11 @@
{% extends "index.html" %}
-
-{% block posthead %}
- <script type="application/ld+json">
- {
- "@context": "https://schema.org",
- "@type": "NewsArticle",
- "mainEntityOfPage": {
- "@type": "WebPage",
- "@id": "https://google.com/article"
- },
- "headline": "{{ page.title }}",
- "image": [],
- "datePublished": "{{ page.date | date(format="%+") }}",
- "dateModified": "{{ page.date | date(format="%+") }}"{% if config.extra.author %},
- "author": {
- "@type": "Person",
- "name": "{{ config.extra.author }}"
- },
- "publisher": {
- "@type": "Organization",
- "name": "{{ config.extra.author }}"{% if config.extra.icon %},
- "logo": {
- "@type": "ImageObject",
- "url": "{{ get_url(path=config.extra.icon) }}"
- }
- {% endif %}
- }
- {% endif %}
- }
- </script>
-
- <script type="application/ld+json">
- {
- "@context": "https://schema.org",
- "@type": "BreadcrumbList",
- "itemListElement": [
- {
- "@type": "ListItem",
- "position": 1,
- "name": "Blog",
- "item": "{{ get_url(path="@/posts/_index.md") }}"
- },
- {
- "@type": "ListItem",
- "position": 2,
- "name": "{{ page.title }}",
- "item": "{{ page.permalink }}"
- }
- ]
- }
- </script>
-{% endblock %}
-
{% block content %}
- <article>
- <h1><a href="{{ current_url }}">{{ page.title }}</a></h1>
- <small>
- <time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>
- by <a href="{{ config.base_url }}">FIGBERT</a>
- </small>
- {{ page.content | safe }}
- </article>
+ <article>
+ <h1><a href="{{ current_url | safe }}">{{ page.title | safe }}</a></h1>
+ <small>
+ <time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>
+ by <a href="{{ config.base_url | safe }}">FIGBERT</a>
+ </small>
+ {{ page.content | safe }}
+ </article>
{% endblock content %}
-