Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
22
themes/docdock/layouts/_default/li.html
Normal file
22
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