rsspls.7bit.org/templates/page.html

26 lines
962 B
HTML

{% extends "juice/templates/page.html" %}
{% block title %}{{ page.title }} - {{ config.title }} {% endblock title %}
{% block metadata %}
<meta property="og:url" content="{{ page.permalink }}" />
<meta property="og:title" content="{{ page.title }} - {{ config.title }}" />
<meta property="og:description" content="{{ page.summary | default(value="") | striptags }}" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="en_AU" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="{{ config.extra.twitter_name }}" />
{% endblock %}
{% block content %}
{% if page.description %}
<h1 class="heading-text">{{ page.description }}</h1>
{% else %}
<h1 class="heading-text">{{ page.title }}</h1>
{% endif %}
{% if page.date %}
<time datetime="{{ page.date }}">{{ page.date | date(format="%d %B %Y") }}</time>
{% endif %}
{{ page.content | safe }}
{% endblock content %}