aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tuxlite_tbs/templates/author.html2
-rw-r--r--tuxlite_tbs/templates/categories.html2
-rw-r--r--tuxlite_tbs/templates/tag.html2
-rw-r--r--tuxlite_tbs/templates/twitter.html3
4 files changed, 5 insertions, 4 deletions
diff --git a/tuxlite_tbs/templates/author.html b/tuxlite_tbs/templates/author.html
index 5b41b41..0b37290 100644
--- a/tuxlite_tbs/templates/author.html
+++ b/tuxlite_tbs/templates/author.html
@@ -1,2 +1,2 @@
{% extends "index.html" %}
-{% block title %}{{ SITENAME }} <small>{{ author }}</small>{% endblock %} \ No newline at end of file
+{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
diff --git a/tuxlite_tbs/templates/categories.html b/tuxlite_tbs/templates/categories.html
index 2b95d34..9277410 100644
--- a/tuxlite_tbs/templates/categories.html
+++ b/tuxlite_tbs/templates/categories.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block title %}{{ SITENAME }} <small>[categories]</small>{% endblock %}
+{% block title %}{{ SITENAME }} - [categories]{% endblock %}
{% block content %}
<ul>
{% for category, articles in categories %}
diff --git a/tuxlite_tbs/templates/tag.html b/tuxlite_tbs/templates/tag.html
index ce6dcb7..68cdcba 100644
--- a/tuxlite_tbs/templates/tag.html
+++ b/tuxlite_tbs/templates/tag.html
@@ -1,2 +1,2 @@
{% extends "index.html" %}
-{% block title %}{{ SITENAME }} <small>{{ tag }}</small>{% endblock %} \ No newline at end of file
+{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
diff --git a/tuxlite_tbs/templates/twitter.html b/tuxlite_tbs/templates/twitter.html
index 17b49e1..bc291b2 100644
--- a/tuxlite_tbs/templates/twitter.html
+++ b/tuxlite_tbs/templates/twitter.html
@@ -1,3 +1,4 @@
{% if TWITTER_USERNAME %}
-<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="{{article.title}}" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
+<a href="https://twitter.com/share" class="twitter-share-button" data-text="{{article.title}}" data-via="{{TWITTER_USERNAME}}">Tweet</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
{% endif %}