templates: post: add info
authorLucian Mogosanu <lucian.mogosanu@gmail.com>
Sat, 20 Jul 2013 10:15:27 +0000 (13:15 +0300)
committerLucian Mogosanu <lucian.mogosanu@gmail.com>
Sat, 20 Jul 2013 10:15:27 +0000 (13:15 +0300)
css/default.css
templates/post.html

index e8e9bbb..d4fb30d 100644 (file)
@@ -25,6 +25,18 @@ a:hover {
        text-decoration: underline;
 }
 
+.info {
+       color: #555;
+       font-size: 15px;
+       font-style: italic;
+       margin-top: -12px;
+}
+
+.info sup {
+       color: #C2CBCE;
+       font-style: normal;
+}
+
 #header {
        border-bottom: 1.5px dashed #aaa;
        margin-bottom: 30px;
index 36d66c2..3166e43 100644 (file)
@@ -1 +1,9 @@
+<div class="info">
+       <sup>$postid$</sup>
+       Posted on $date$
+       $if(author)$
+               by $author$
+       $endif$
+</div>
+
 $body$