26 lines
626 B
HTML
26 lines
626 B
HTML
{{ define "main" }}
|
|
<div class="post post_paragraphs" >
|
|
<h1 class="post_title" id="title">{{ .Title }}</h1>
|
|
<div class="post__header">
|
|
{{ $image := .Resources.GetMatch .Params.image }}
|
|
<img class="post__image post-imge" src="{{ $image.RelPermalink }}">
|
|
</div>
|
|
|
|
{{ with .Params.tags }}
|
|
<div class="post__tags post_tag">
|
|
{{ range . }}
|
|
<a class="post__tag posttags" href="{{ "tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<section class="post__content">
|
|
<div>
|
|
<article>
|
|
{{ .Content }}
|
|
</article>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{{ end }}
|