diff options
author | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2013-12-06 13:02:58 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2013-12-06 13:02:58 +0100 |
commit | 68e20616663e048d47297ff251f64081b1d1fe3a (patch) | |
tree | 354207f3169a59e305456beaa44db2a68805de82 | |
parent | 7b171c73400ff2c0b8f3634e35d186b22176759b (diff) | |
download | wallabag-68e20616663e048d47297ff251f64081b1d1fe3a.tar.gz wallabag-68e20616663e048d47297ff251f64081b1d1fe3a.tar.zst wallabag-68e20616663e048d47297ff251f64081b1d1fe3a.zip |
[add] tags displaying
-rw-r--r-- | themes/default/css/style.css | 6 | ||||
-rw-r--r-- | themes/default/view.twig | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/themes/default/css/style.css b/themes/default/css/style.css index 670eb50f..2088ee2e 100644 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css | |||
@@ -176,6 +176,12 @@ a:visited { | |||
176 | text-decoration: none; | 176 | text-decoration: none; |
177 | } | 177 | } |
178 | 178 | ||
179 | #article .tags { | ||
180 | font-size: 0.8em; | ||
181 | color: #888; | ||
182 | padding-bottom: 5px; | ||
183 | } | ||
184 | |||
179 | .backhome { | 185 | .backhome { |
180 | display: inline; | 186 | display: inline; |
181 | } | 187 | } |
diff --git a/themes/default/view.twig b/themes/default/view.twig index 1e54ae38..5a7c9165 100644 --- a/themes/default/view.twig +++ b/themes/default/view.twig | |||
@@ -20,6 +20,9 @@ | |||
20 | <header class="mbm"> | 20 | <header class="mbm"> |
21 | <h1>{{ entry.title|raw }}</h1> | 21 | <h1>{{ entry.title|raw }}</h1> |
22 | </header> | 22 | </header> |
23 | <aside class="tags"> | ||
24 | tags: {% for tag in tags %}<a href="#">{{ tag.value }}</a> {% endfor %}<a href="#" title="{% trans "edit tags" %}">✎</a> | ||
25 | </aside> | ||
23 | <article> | 26 | <article> |
24 | {{ content | raw }} | 27 | {{ content | raw }} |
25 | </article> | 28 | </article> |