Verified Commit 6bd41327 authored by doshitan's avatar doshitan

Fix project page history link

And break out the history link item into it's own template to prevent
this kind of breakage in the future and maintain consistency.
parent e58c814c
<li>
<i class="icon-history"></i>
<a href="https://gitlab.com/doshitan/doshitan.com/commits/master/content/$path$">
<time datetime="$date-modified-machine$" class="dt-updated updated">$date-modified$</time>
</a>
</li>
......@@ -25,12 +25,7 @@
<footer class="meta navbar navbar-sm-vert container">
<ul class="list-inline list-inline-sep">
<li>
<i class="icon-history"></i>
<a href="https://gitlab.com/doshitan/doshitan.com/commits/master/content/$path$">
<time datetime="$date-modified-machine$" class="dt-updated updated">$date-modified$</time>
</a>
</li>
$partial("templates/history-list-item.html")$
$if(tags)$
<li class="tags">$tags$</li>
......
<!-- TODO: deal with me -->
<h1 class="title">$title$</h1>
<header>
<h1 class="title">$title$</h1>
<ul class="meta list-inline list-inline-sep">
<li>
<i class="icon-history"></i>
<a href="https://gitlab.com/doshitan/doshitan.com/commits/master/$path$">
<time datetime="$date-modified-machine$" class="dt-updated updated">$date-modified$</time>
</a>
</li>
<li><a href="$source-url$">Source</a></li>
$for(extra-links)$
<li><a href="$url$">$name$</a></li>
$endfor$
</ul>
<div class="meta navbar navbar-sm-vert container">
<ul class="list-inline list-inline-sep">
$partial("templates/history-list-item.html")$
<li><a href="$source-url$">Source</a></li>
$for(extra-links)$
<li><a href="$url$">$name$</a></li>
$endfor$
</ul>
</div>
</header>
<!-- $partial("templates/toc.html")$ -->
......@@ -21,9 +19,11 @@
</section>
$if(posts)$
<h2>Recent Posts for $title$</h2>
<section>
<h2>Recent Posts for $title$</h2>
$partial("templates/post-list.html")$
$partial("templates/post-list.html")$
<a href="$all-posts-url$" class="btn btn-default btn-lg btn-block">All Posts for $title$ &raquo;</a>
<a href="$all-posts-url$" class="btn btn-default btn-lg btn-block">All Posts for $title$ &raquo;</a>
</section>
$endif$
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment