mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
First pass at new site template
This commit is contained in:
committed by
Chris Cummer
parent
215c7e571f
commit
d872a28cf7
22
_site/themes/docdock/layouts/_default/li.html
Normal file
22
_site/themes/docdock/layouts/_default/li.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<article class="post {{ .Section }}">
|
||||
<header class="post-header">
|
||||
<h2 class="post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
</header>
|
||||
<section class="post-excerpt">
|
||||
<p>{{ .Summary }} <a class="read-more" href="{{.RelPermalink}}">»</a></p>
|
||||
</section>
|
||||
<footer class=" footline" >
|
||||
|
||||
{{with .Params.LastModifierDisplayName}}
|
||||
<i class='fa fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{with $.Date}} <i class='fa fa-calendar'></i> {{ .Format "02/01/2006" }}{{end}}
|
||||
{{end}}
|
||||
|
||||
|
||||
{{if .Params.tags }}
|
||||
{{ range $index, $tag := .Params.tags }}
|
||||
<a class="label label-default" href="{{$.Site.BaseURL}}tags/{{ $tag | urlize }}/">{{ $tag }}</a>
|
||||
{{ end }}
|
||||
{{end}}
|
||||
|
||||
</footer>
|
||||
</article>
|
||||
Reference in New Issue
Block a user