forked from oyd/ozgurkon-2021-site
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.
28 lines
612 B
28 lines
612 B
{{ define "main" }}
|
|
|
|
<div class="hero">
|
|
<h1>{{ $.Page.Params.Title }}</h1>
|
|
<div class="description">
|
|
{{ .Content }}
|
|
</div>
|
|
</div>
|
|
|
|
<section class="blogs">
|
|
{{ range .Pages }}
|
|
<article>
|
|
<a class="blog" href="{{ .URL }}">
|
|
<div class="img" style="background-image: url({{ path.Join .URL .Params.image }});"></div>
|
|
<div class="info">
|
|
<h2>{{ .Title }}</h2>
|
|
<span>{{ .Params.brief }}</span>
|
|
<div class="date">{{ dateFormat "2 Jan 2016" .Date }}</div>
|
|
<div class="reading">{{ .ReadingTime }}</div>
|
|
</div>
|
|
<p>{{ .Summary }} ...</p>
|
|
</a>
|
|
</article>
|
|
{{ end }}
|
|
</section>
|
|
|
|
|
|
{{ end }} |