I would have thought the SITEURL template variable would faithfully
reflect my Pelican SITEURL setting, but instead it was getting
populated as "../../.."?! (A relative-URLs setting??—the root is
"three levels up" from `YYYY/Mon/post-slug/`.) Hardcoding it should be
fine; the site isn't going anywhere (until the virus kills me).
While we're here, get that disgraceful hyphen out of the page
title. And, prune some conditional markup that misled my past self
into thinking that SITEURL would work.
{% extends "base.html" %}
{% extends "base.html" %}
-{% block title %}{{ article.title }} - {{ SITENAME }}{% endblock %}
+{% block title %}{{ article.title }} ★ {{ SITENAME }}{% endblock %}
{% block extra_meta %}
<meta name="description" content="{{ article.summary|striptags }}">
{% block extra_meta %}
<meta name="description" content="{{ article.summary|striptags }}">
-
-{% if PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT %}
- <meta name="twitter:card" content="summary">
- <meta name="twitter:creator" content="@{{ PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT }}">
- <meta name="twitter:title" content="{{ article.title }}">
- <meta name="twitter:description" content="{{ article.summary|striptags }}">
- <meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}">
-{% endif %}
{% block content %}
<article class="full">
{% block content %}
<article class="full">
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- Reddit social -->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- Reddit social -->
- <a href="http://www.reddit.com/submit?url={{ SITEURL }}/{{ article.url }}&title={{ article.title }}" target="_blank" title="Submit to Reddit">
+ <a href="http://www.reddit.com/submit?url=unremediatedgender.space/{{ article.url }}&title={{ article.title }}" target="_blank" title="Submit to Reddit">
<img alt="Submit to Reddit"
{# TODO: can store Reddit icon in theme directory rather than with blog images proper?? #}
src="/images/reddit.svg" height="30px"/>
<img alt="Submit to Reddit"
{# TODO: can store Reddit icon in theme directory rather than with blog images proper?? #}
src="/images/reddit.svg" height="30px"/>