1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 13:56:22 -04:00

shortcode lookup being weird -- explicitly calling RenderString seems to help?

This commit is contained in:
Jake Jarvis 2019-12-23 12:54:47 -06:00
parent a7b9f897f8
commit 7001394614
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
10 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@
on <a class="date" href="{{ (.OutputFormats.Get "html").Permalink }}">{{ .Date.Format "January 2, 2006" }}</a> on <a class="date" href="{{ (.OutputFormats.Get "html").Permalink }}">{{ .Date.Format "January 2, 2006" }}</a>
</p> </p>
{{ .Content }} {{ .Page.RenderString .Content }}
</article> </article>
<footer> <footer>

View File

@ -15,7 +15,7 @@
</div> </div>
</div> </div>
<div id="content"> <div id="content">
{{ .Content }} {{ .Page.RenderString .Content }}
</div> </div>
</article> </article>
</main> </main>

View File

@ -20,7 +20,7 @@
{{ with .Site.Author.email }}<author>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</author>{{ end }} {{ with .Site.Author.email }}<author>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<description> <description>
{{ .Content | html }} {{ .Page.RenderString .Content | html }}
</description> </description>
</item> </item>
{{ end }} {{ end }}