]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
[add] tags displaying
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Fri, 6 Dec 2013 12:02:58 +0000 (13:02 +0100)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Fri, 6 Dec 2013 12:02:58 +0000 (13:02 +0100)
themes/default/css/style.css
themes/default/view.twig

index 670eb50f4966581e6d0ffca4110343a11ce639e5..2088ee2ee9c5b97522dcaeab9150ccae590e0018 100644 (file)
@@ -176,6 +176,12 @@ a:visited {
     text-decoration: none;
 }
 
+#article .tags {
+    font-size: 0.8em;
+    color: #888;
+    padding-bottom: 5px;
+}
+
 .backhome {
     display: inline;
 }
index 1e54ae384e84e00482a949f89359ef5b6bfadc98..5a7c9165d714cf8fce44cc47fa58f6ae07005e45 100644 (file)
@@ -20,6 +20,9 @@
             <header class="mbm">
                 <h1>{{ entry.title|raw }}</h1>
             </header>
+            <aside class="tags">
+                tags: {% for tag in tags %}<a href="#">{{ tag.value }}</a> {% endfor %}<a href="#" title="{% trans "edit tags" %}">✎</a>
+            </aside>
             <article>
                 {{ content | raw }}
             </article>