the website is now more lightweight
This commit is contained in:
parent
59c38330f6
commit
74929ff17a
4 changed files with 8 additions and 93 deletions
|
@ -14,9 +14,16 @@
|
|||
<article>
|
||||
<h1><span>{{ .Title }}</span></h1>
|
||||
{{ with .Description }}<p class="description">{{ . }}</p>{{ end }}
|
||||
{{- if eq .Params.type "post" }}
|
||||
<p class="meta" title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">
|
||||
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
|
||||
{{- with .Params.author }}<span class="author">by {{ . }}</span>{{ end }}
|
||||
{{ end }}
|
||||
{{- if eq .Params.type "project" }}
|
||||
<p class="meta">
|
||||
{{ with .Params.activetime }}<span class="date">{{ . }}</span><br />{{ end }}
|
||||
{{ with .Params.status }}<span class="status">{{ . }}</span>{{ end }}
|
||||
{{- end }}
|
||||
</p>
|
||||
</article>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue