the code for my website (https://www.annwan.me)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
723 B
26 lines
723 B
{{ define "main" }}
|
|
<header class="content__header">
|
|
<h1>{{ .Title | markdownify }}</h1>
|
|
{{ .Content }}
|
|
</header>
|
|
|
|
{{ range .Pages }}
|
|
<article class="post">
|
|
<header class="post__header">
|
|
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
|
<p class="post__meta">
|
|
{{ .Params.author }},
|
|
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
|
|
</p>
|
|
</header>
|
|
|
|
<section class="post__summary">
|
|
{{ .Summary }}
|
|
</section>
|
|
</article>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{define "aside" }}
|
|
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
|
{{ end }}
|