improved summary and updated web metadata
This commit is contained in:
parent
b1f16d8db5
commit
130340770c
3 changed files with 10 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
baseURL: https://warwick-new.co.uk
|
baseURL: https://warwicknew.co.uk
|
||||||
languageCode: en-us
|
languageCode: en-us
|
||||||
title: Warwick New
|
title: Warwick New
|
||||||
theme: warwick_portfolio
|
theme: warwick_portfolio
|
||||||
|
|
|
||||||
BIN
static/favicon.ico
Normal file
BIN
static/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
|
|
@ -2,10 +2,18 @@
|
||||||
<div style="justify-content: space-between; flex-wrap:nowrap" class="flex-wrap-container">
|
<div style="justify-content: space-between; flex-wrap:nowrap" class="flex-wrap-container">
|
||||||
<div class="summary">
|
<div class="summary">
|
||||||
<a class="summary__link" href="{{ .Permalink }}">
|
<a class="summary__link" href="{{ .Permalink }}">
|
||||||
|
{{ if gt (len .Title) 40}}
|
||||||
|
<h4 style="margin: 0">{{slicestr .Title 0 40}}...</h4>
|
||||||
|
{{ else }}
|
||||||
<h4 style="margin: 0">{{ .Title }}</h4>
|
<h4 style="margin: 0">{{ .Title }}</h4>
|
||||||
|
{{ end }}
|
||||||
{{- partial "taglist.html" . -}}
|
{{- partial "taglist.html" . -}}
|
||||||
</a>
|
</a>
|
||||||
|
{{ if gt (len .Summary) 500 }}
|
||||||
|
<p>{{slicestr .Summary 0 500}}...</p>
|
||||||
|
{{ else }}
|
||||||
<p>{{.Summary}}</p>
|
<p>{{.Summary}}</p>
|
||||||
|
{{ end }}
|
||||||
<span class="summary__date">
|
<span class="summary__date">
|
||||||
{{.Params.date.Format "2 January 2006"}}
|
{{.Params.date.Format "2 January 2006"}}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -26,4 +34,3 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue