first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<div class="site-shell">
|
||||
{{ partial "header.html" . }}
|
||||
<main class="site-main" role="main">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
<section class="content-panel">
|
||||
<div class="panel-header">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ with .Description }}
|
||||
<p class="panel-description">{{ . }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-grid">
|
||||
{{ range .Pages }}
|
||||
<article class="post-card">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<p class="card-meta">{{ .Date.Format "02.01.2006" }}</p>
|
||||
<h3>{{ .Title }}</h3>
|
||||
<p>{{ .Summary }}</p>
|
||||
</a>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<article class="content-panel post-detail">
|
||||
<div class="panel-header detail-header">
|
||||
<p class="card-meta">{{ .Date.Format "02.01.2006" }}</p>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.summary }}
|
||||
<p class="panel-description">{{ . }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-body">{{ .Content }}</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user