templates: post-list: replace divs with lists
authorLucian Mogosanu <lucian.mogosanu@gmail.com>
Sat, 21 Sep 2013 07:47:30 +0000 (10:47 +0300)
committerLucian Mogosanu <lucian.mogosanu@gmail.com>
Sat, 21 Sep 2013 07:48:05 +0000 (10:48 +0300)
css/default.css
templates/post-list.html

index db727af..7de1ceb 100644 (file)
@@ -87,10 +87,9 @@ math {
 
 .postlist {
        font-size: 90%;
-       margin-left: 170px;
-       margin-bottom: 20px;
 }
 
+/*
 h3.pldate {
        font-size: 90%;
        position: absolute;
index 6bf6948..f7f45ee 100644 (file)
@@ -1,11 +1,11 @@
+<ul class="postlist">
 $for(posts)$
-    <div class="postlist">
-        <h3 class="pldate">$date$</h3>
-               <p class="pltitle"><a href="$url$">$title$</a></p>
+               <li class="pltitle"><a href="$url$">$title$</a>
                $if(excerpt)$
                <p class="plexcerpt">
                $excerpt$
                </p>
                $endif$
-    </div>
+               </li>
 $endfor$
+</ul>