update
This commit is contained in:
parent
9d082d0458
commit
a35e2e819f
5 changed files with 23 additions and 20 deletions
|
@ -8,9 +8,8 @@
|
|||
<section class="section-article">
|
||||
<article>
|
||||
<p class="meta">
|
||||
{{ if eq .Params.type "project" }}<span title="{{ .Date.Format "2. January 2006" }}">last updated: {{ .Date.Format "2. January 2006" }}</span>{{ end }}
|
||||
{{ if eq .Params.type "post" }}<span title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</span>{{ end }}
|
||||
{{ if eq .Params.type "privacy" }}<span title="{{ .Date.Format "2. January 2006" }}">last updated: {{ .Date.Format "2006-01-02" }}</span>{{ end }}
|
||||
{{ if eq .Params.type "privacy" }}<span title="{{ .Date.Format "2. January 2006" }}">version: {{ .Date.Format "2006-01-02" }}</span>{{ end }}
|
||||
<span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
|
||||
</p>
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
</div>
|
||||
</section>
|
||||
<div class="container">
|
||||
<span class="section-header">
|
||||
<span class="section latest">
|
||||
latest
|
||||
<a href="{{ "/blog" | relURL }}">posts</a>
|
||||
</span>
|
||||
<section class="section-articles">
|
||||
<section class="section articles">
|
||||
{{ range first 2 (where .Site.RegularPages "Type" "post") }}
|
||||
<a href="{{ .Permalink }}">
|
||||
<article>
|
||||
|
@ -36,11 +36,11 @@
|
|||
</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
<span class="section-header">
|
||||
<span class="section latest">
|
||||
latest
|
||||
<a href="{{ "/projects" | relURL }}">projects</a>
|
||||
</span>
|
||||
<section class="section-projects">
|
||||
<section class="section projects">
|
||||
{{ range first 3 (where .Site.RegularPages "Type" "project") }}
|
||||
<a href="{{ .Permalink }}">
|
||||
<article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue