diff options
author | François Kooman <fkooman@tuxed.net> | 2016-06-23 19:44:56 +0200 |
---|---|---|
committer | François Kooman <fkooman@tuxed.net> | 2016-06-23 19:44:56 +0200 |
commit | e1e230db69d821cdd8d28c9cb8d73db0134520b5 (patch) | |
tree | 37dc6257f92f6b0b9b8468f6f71cc1007071f60a /views | |
parent | c5a19823247de6e21701a904f11fb54ca35a8570 (diff) | |
download | www.tuxed.net-e1e230db69d821cdd8d28c9cb8d73db0134520b5.zip www.tuxed.net-e1e230db69d821cdd8d28c9cb8d73db0134520b5.tar.gz www.tuxed.net-e1e230db69d821cdd8d28c9cb8d73db0134520b5.tar.xz |
minor index updates etc
Diffstat (limited to 'views')
-rw-r--r-- | views/index.twig | 4 | ||||
-rw-r--r-- | views/post.twig | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/views/index.twig b/views/index.twig index 5700c5b..34f0bcb 100644 --- a/views/index.twig +++ b/views/index.twig @@ -7,11 +7,11 @@ <div class="content"> <h2>{{ pageTitle|e }}</h2> - <ul> + <ul class="index"> {% for post in postsList %} {% if post.publish %} <li> - [{{post.published|e }}] <a href="{{post.fileName|e }}">{{ post.title|e }}</a> + <a href="{{post.fileName|e }}">{{ post.title|e }}</a> <small>{{post.published|e }}</small> </li> {% endif %} {% endfor %} diff --git a/views/post.twig b/views/post.twig index b1cea08..4f4f4de 100644 --- a/views/post.twig +++ b/views/post.twig @@ -1,6 +1,10 @@ {% include 'header.twig' %} - <p><small><a href="index.html">Index</a></small></p> + <p> + <em>{{ blogDescription|e }}</em> + </p> + + <p><small><a href="index.html">Return to Index</a></small></p> <div class="content"> @@ -18,6 +22,6 @@ </div> <!-- /content --> -<p><small><a href="index.html">Index</a></small></p> +<p><small><a href="index.html">Return to Index</a></small></p> {% include 'footer.twig' %} |