From ebd2c1358fc78293f488c0c88a4239056adea15c Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 11 Apr 2016 02:20:01 +0100 Subject: [PATCH] Add some schema.org metadata --- cjwatson-theme/templates/article.html | 7 ++++--- cjwatson-theme/templates/article_infos.html | 6 +++--- cjwatson-theme/templates/base.html | 2 ++ cjwatson-theme/templates/index.html | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/cjwatson-theme/templates/article.html b/cjwatson-theme/templates/article.html index 06110b43..c5626fbf 100644 --- a/cjwatson-theme/templates/article.html +++ b/cjwatson-theme/templates/article.html @@ -2,11 +2,12 @@ {% block title %}{{ article.title|striptags }}{% endblock %} {% block content %}
-
+
-

+

{{ article.title }}

+ title="Permalink to {{ article.title|striptags }}" + itemprop="url">{{ article.title }} {% include 'twitter.html' %}
diff --git a/cjwatson-theme/templates/article_infos.html b/cjwatson-theme/templates/article_infos.html index 0c8bf88a..2ae4eaf0 100644 --- a/cjwatson-theme/templates/article_infos.html +++ b/cjwatson-theme/templates/article_infos.html @@ -1,13 +1,13 @@