From 7001394614148762b390ee96bb66cfc922faeb26 Mon Sep 17 00:00:00 2001
From: Jake Jarvis
Date: Mon, 23 Dec 2019 12:54:47 -0600
Subject: [PATCH] shortcode lookup being weird -- explicitly calling
RenderString seems to help?
---
layouts/_default/single.amp.html | 2 +-
layouts/_default/single.html | 2 +-
layouts/rss.xml | 2 +-
layouts/shortcodes/{codepen.rss.html => codepen.rss.xml} | 0
layouts/shortcodes/{facebook.rss.html => facebook.rss.xml} | 0
layouts/shortcodes/{gh-buttons.rss.html => gh-buttons.rss.xml} | 0
layouts/shortcodes/{image.rss.html => image.rss.xml} | 0
layouts/shortcodes/{tweet.rss.html => tweet.rss.xml} | 0
layouts/shortcodes/{video.rss.html => video.rss.xml} | 0
layouts/shortcodes/{youtube.rss.html => youtube.rss.xml} | 0
10 files changed, 3 insertions(+), 3 deletions(-)
rename layouts/shortcodes/{codepen.rss.html => codepen.rss.xml} (100%)
rename layouts/shortcodes/{facebook.rss.html => facebook.rss.xml} (100%)
rename layouts/shortcodes/{gh-buttons.rss.html => gh-buttons.rss.xml} (100%)
rename layouts/shortcodes/{image.rss.html => image.rss.xml} (100%)
rename layouts/shortcodes/{tweet.rss.html => tweet.rss.xml} (100%)
rename layouts/shortcodes/{video.rss.html => video.rss.xml} (100%)
rename layouts/shortcodes/{youtube.rss.html => youtube.rss.xml} (100%)
diff --git a/layouts/_default/single.amp.html b/layouts/_default/single.amp.html
index 4feaf4ed..0fe60e10 100644
--- a/layouts/_default/single.amp.html
+++ b/layouts/_default/single.amp.html
@@ -196,7 +196,7 @@
on {{ .Date.Format "January 2, 2006" }}
- {{ .Content }}
+ {{ .Page.RenderString .Content }}