summaryrefslogtreecommitdiffstats
path: root/themes/rusted
diff options
context:
space:
mode:
Diffstat (limited to 'themes/rusted')
-rw-r--r--themes/rusted/templates/base.html16
-rw-r--r--themes/rusted/templates/page.html31
2 files changed, 40 insertions, 7 deletions
diff --git a/themes/rusted/templates/base.html b/themes/rusted/templates/base.html
index 040a52a..a8f5606 100644
--- a/themes/rusted/templates/base.html
+++ b/themes/rusted/templates/base.html
@@ -53,20 +53,22 @@
<footer>
<div class="container wrapper">
<div class="row">
- <div class="col-md-6">
+ <div class="col-md-4">
<ul class="list-unstyled">
<li><a href="{{ SITEURL }}/blog/archives/index.html">past issues</a></li>
<li><a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}">atom feed</a></li>
<li><a href="{{ SOURCE_URL }}">source code</a></li>
</ul>
</div>
- <div class="col-md-6 text-right">
+ <div class="col-md-4">
<ul class="list-unstyled">
- <li>
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
- <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" />
- </a>
- </li>
+ <li><a href="https://twitter.com/ThisWeekInRust">twitter</a></li>
+ </ul>
+ </div>
+ <div class="col-md-4 text-right">
+ <ul class="list-unstyled">
+ <li><a href="{{ SITEURL }}/pages/privacy-policy.html">privacy policy</a></li>
+ <li><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">cc-by-sa-4.0</a></li>
</ul>
</div>
</div>
diff --git a/themes/rusted/templates/page.html b/themes/rusted/templates/page.html
new file mode 100644
index 0000000..a4f21f4
--- /dev/null
+++ b/themes/rusted/templates/page.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+
+{% block title %}
+{{ page.title }} {%if page.subtitle %} - {{ page.subtitle }} {% endif %} ยท {{ super() }}
+{% endblock title %}
+
+{% block head_description %}
+{% if page.summary %}
+{{ article.summary|striptags }}
+{% endif %}
+{% endblock head_description %}
+
+{% block meta_tags_in_head %}
+{% if page.tags or page.category or page.keywords %}
+<meta name="keywords" content="{{ [page.tags|join(', '), page.category, page.keywords]|join(', ') }}" />
+{% endif %}
+{% endblock meta_tags_in_head %}
+
+{% block content %}
+
+<div class="post">
+ <header class="post-header">
+ <h1>{{ page.title }}</h1>
+ </header>
+
+ <article class="post-content">
+ {{ page.content }}
+ </article>
+
+</div>
+{% endblock content %}