From: M. Taylor Saotome-Westlake Date: Sun, 12 Apr 2020 22:03:16 +0000 (-0700) Subject: fix Reddit share URL; driveby star, driveby trim dead code X-Git-Url: http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git;a=commitdiff_plain;h=15724b44a463c87a57674c17597219aa1403f226;ds=sidebyside fix Reddit share URL; driveby star, driveby trim dead code 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. --- diff --git a/theme/templates/article.html b/theme/templates/article.html index 0e6687f..fd28b3c 100644 --- a/theme/templates/article.html +++ b/theme/templates/article.html @@ -1,20 +1,11 @@ {% extends "base.html" %} -{% block title %}{{ article.title }} - {{ SITENAME }}{% endblock %} +{% block title %}{{ article.title }} ★ {{ SITENAME }}{% endblock %} {% block extra_meta %} - -{% if PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT %} - - - - - -{% endif %} {% endblock %} - {% block content %}
@@ -32,7 +23,7 @@ - + Submit to Reddit