Compare commits

..

3 Commits

3 changed files with 10 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
draft: false draft: false
pinned: false pinned: false
video: true video: true
feathericon: film
title: "Walking Breathing Meditation" title: "Walking Breathing Meditation"
subtitle: "" subtitle: ""
author: HyperVegan author: HyperVegan

View File

@@ -35,15 +35,15 @@
src="/feathericons/16px-a9a9b3/headphones.svg" alt="" src="/feathericons/16px-a9a9b3/headphones.svg" alt=""
> >
{{ end }} {{ end }}
{{ if .Params.tags }}{{ index .Params.tags 0 | title }}:{{ end }}
{{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }}
{{ "--" | markdownify }} {{ .Params.subtitle}}
{{ end }}
{{ if .Params.feathericon }} {{ if .Params.feathericon }}
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;" <img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
src="/feathericons/16px-a9a9b3/{{ print .Params.feathericon }}.svg" alt="" src="/feathericons/16px-a9a9b3/{{ print .Params.feathericon }}.svg" alt=""
> >
{{ end }} {{ end }}
{{ if .Params.tags }}{{ index .Params.tags 0 | title }}:{{ end }}
{{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }}
{{ "--" | markdownify }} {{ .Params.subtitle}}
{{ end }}
</span> </span>
<span class="post-day"> <span class="post-day">
{{ if .Site.Params.dateformShort }} {{ if .Site.Params.dateformShort }}

View File

@@ -25,7 +25,11 @@
<strong>{{ .Params.subtitle | markdownify }}</strong> <strong>{{ .Params.subtitle | markdownify }}</strong>
{{ end }} {{ end }}
{{ if (isset .Params "author") }} {{ if (isset .Params "author") }}
<pre>{{ partial "byline.html" . }}</pre> <pre>{{ if .Params.feathericon
}}<img style="display: inline-block; vertical-align: middle; margin-right: 4px; padding-right: 4px;"
src="/feathericons/16px-a9a9b3/{{ print .Params.feathericon }}.svg" alt=""
>{{ end }}{{ partial "byline.html" .
}}</pre>
{{ end }} {{ end }}
{{ with .Params.Description }} {{ with .Params.Description }}