From 6648d2e2622761853d864c6b76267cf6481c0913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88kull=20So=CC=81lberg=20Au=C3=B0unsson?= Date: Mon, 23 Jan 2012 14:44:14 +0000 Subject: [PATCH] Author data for posts, hidden. For instapaper. --- calepin/static/styles.css | 1 + calepin/templates/article.html | 32 +++++++++++++++----------------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/calepin/static/styles.css b/calepin/static/styles.css index c9e5308c2..a235d4269 100644 --- a/calepin/static/styles.css +++ b/calepin/static/styles.css @@ -122,6 +122,7 @@ article .entry-content li { font-size: 12pt; line-height: 20pt; } article .metadata { font-size: 11px; color: #888; } article .metadata p { margin-bottom: 0; } article .metadata a { color: #666; } +article .metadata address { display: none; } sup { vertical-align: .2em; font-size: 80%; margin: -2px 0 0 2px; } diff --git a/calepin/templates/article.html b/calepin/templates/article.html index ca435beb1..69312a187 100644 --- a/calepin/templates/article.html +++ b/calepin/templates/article.html @@ -24,25 +24,23 @@

{{ article.title }}

- {# - {% if article.author %} -
- By {{ article.author }} -
- {% endif %} - #} + {% if article.author %} +
+ By {{ article.author }} +
+ {% endif %} - {% if article.category and article.category != "misc" %} -

- Posted in {{ article.category }} -

- {% endif %} + {% if article.category and article.category != "misc" %} +

+ Posted in {{ article.category }} +

+ {% endif %} - {% if article.tags %} -

- Tags: {% for tag in article.tags %}{{ tag }} {% endfor %} -

- {% endif %} + {% if article.tags %} +

+ Tags: {% for tag in article.tags %}{{ tag }} {% endfor %} +

+ {% endif %}