diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2019-02-17 04:49:10 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2019-02-17 04:49:10 +0300 |
commit | e9ee8a5780099015153dd9e8c6102700b0499f93 (patch) | |
tree | ba4350f72a67b6df5b1e7d23a8c899f5abee28dc | |
parent | a62491c98c85ddb1c1acb0c53a3e050c6906a779 (diff) |
tweak mailchimp preview rendering
-rw-r--r-- | exampleSite/content/about-story.md | 2 | ||||
-rw-r--r-- | layouts/_default/mailchimp.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/about-story.md b/exampleSite/content/about-story.md index a1db66c..63746f4 100644 --- a/exampleSite/content/about-story.md +++ b/exampleSite/content/about-story.md @@ -3,7 +3,7 @@ title: The Story Hugo Theme date: "2018-09-03" url: "/about-story" description: "Story is a beautiful responsive Hugo blog theme with many extra features including presentations, math typesetting, and search." -tldr: "Story is a beautiful responsive Hugo blog theme with powerful extra features out-of-the-box. It is targeted to people who want to showcase their technical work online." +tldr: "Story is a beautiful responsive Hugo blog theme with powerful extra features out-of-the-box. It's targeted to people who want to showcase their technical work online." credit: "https://unsplash.com/photos/o-ubWHV29Uk" image: "img/unsplash-photos-o-ubWHV29Uk.jpg" thumbnail: img/unsplash-photos-o-ubWHV29Uk.tn-500x500.jpg diff --git a/layouts/_default/mailchimp.html b/layouts/_default/mailchimp.html index ca9e6b9..35a21cd 100644 --- a/layouts/_default/mailchimp.html +++ b/layouts/_default/mailchimp.html @@ -20,7 +20,7 @@ {{- cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) -}} </a></h1> <div class="f6 f5-l lh-copy nested-copy-line-height nested-links"> - {{ with .Params.tldr }}{{ . | markdownify | html }}{{ else }}{{ (printf "%s<br>%s" .Params.description .Summary) | markdownify | html }}{{ end }} + {{ with .Params.tldr }}{{ . | markdownify }}{{ else }}{{ (printf "%s<br>%s" (.Params.description | markdownify) .Summary) }}{{ end }} </div> </div> </div> |