Compare commits
2 commits
098cbca3c3
...
96c02e7ba3
Author | SHA1 | Date | |
---|---|---|---|
96c02e7ba3 | |||
50217b03ea |
2 changed files with 1 additions and 25 deletions
|
@ -1,24 +0,0 @@
|
||||||
{{ define "page" }}
|
|
||||||
<content>
|
|
||||||
<h1>{{ .Title }}</h1>
|
|
||||||
<p>{{ .Content }}</p>
|
|
||||||
<h2>Latest posts</h2>
|
|
||||||
{{ range .Pages }}
|
|
||||||
<div class="section-page-item">
|
|
||||||
<h3>{{ .Title }}</h3>
|
|
||||||
<div class="details">
|
|
||||||
<time class="float-left">{{ .PublishDate | time.Format ":date_medium" }}</time>
|
|
||||||
{{- if .Site.Params.Display.ReadingTime -}}
|
|
||||||
<div class="read-time float-left"> • {{ partial "reading-time.html" . }}</div>
|
|
||||||
{{- end -}}
|
|
||||||
{{- if and .Site.Params.Display.Author .Page.Params.Author -}}
|
|
||||||
<div class="author float-left"> • by {{ .Page.Params.Author }}</div>
|
|
||||||
{{- end -}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="summary">{{ .Summary }}</div>
|
|
||||||
<a href="{{ .RelPermalink }}">Read more →</a>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</content>
|
|
||||||
{{ end }}
|
|
|
@ -8,7 +8,7 @@
|
||||||
<h3>{{ .Params.position }} @ {{ .Params.company }}</h3>
|
<h3>{{ .Params.position }} @ {{ .Params.company }}</h3>
|
||||||
<div class="details">
|
<div class="details">
|
||||||
<time class="float-left">
|
<time class="float-left">
|
||||||
{{ .Params.begin }} to {{ .Params.end | default "now" }}
|
{{ .Params.begin }} until {{ .Params.end | default "now" }}
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
Loading…
Reference in a new issue