summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorVikrant Chaudhary <nasa42@gmail.com>2015-07-02 10:25:20 +0530
committerVikrant Chaudhary <nasa42@gmail.com>2015-07-02 10:25:20 +0530
commitb048c2a39066347c8173b2e637ea3605359b3fb3 (patch)
treef764cfae5324378a57ec9fcf94923b671ecd862e /themes
parentd22f445ac14bc2756c39c0dc7e0444b3ba9b906c (diff)
Added Privacy Policy.
Blueprint from various Curated (curated.co) operated websites. Modified for TWiR. Some sections might not apply to TWiR at present (e.g., cookies) but retained for future use.
Diffstat (limited to 'themes')
-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 %}