-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpost.html
More file actions
20 lines (20 loc) · 765 Bytes
/
post.html
File metadata and controls
20 lines (20 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<section class="post content-padding">
{{ with partial "_decorators/content-container.html" . }}
<div class="post-meta">{{ partial "posts/meta.html" . }}
<span class="post-please-comment">🖊️ Please add your comments <a href="#discourse-comments">below!</a></span>
</div>
{{- $featuredImage := .Resources.GetMatch "featuredImage" -}}
<div class="post-content">
{{ with $featuredImage }}
{{ if .Params.showOnTop }}
<div class="post-featuredImage">
<img src="{{ .RelPermalink }}" {{ with .Params.description }}alt="{{ . }}"{{ end }}/>
</div>
{{ end }}
{{ end }}
{{ .Content }}
{{ partial "posts/comments.html" .}}
</div>
{{ end }}
{{ partial "shortcuts.html" . }}
</section>