Bold featured elsewhere posts
This commit is contained in:
@@ -12,7 +12,12 @@
|
|||||||
{{ $host := strings.Replace $url.Hostname "www." "" }}
|
{{ $host := strings.Replace $url.Hostname "www." "" }}
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
{{ if .Params.featured }}
|
||||||
|
<b><a href="{{ .Permalink }}">{{ .Title }}</a></b>
|
||||||
|
{{ else }}
|
||||||
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<span class="nowrap">
|
<span class="nowrap">
|
||||||
(<a href="{{ $url }}">{{ $host }}</a>, {{ .Date | time.Format "2006-01-02" }})
|
(<a href="{{ $url }}">{{ $host }}</a>, {{ .Date | time.Format "2006-01-02" }})
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user