From a7b9ea92bda1617cf952e6b897b7ab64c67e8752 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 10 Nov 2017 09:06:53 +0000 Subject: [PATCH] Strip spotify out of summaries --- content/robotics/smallpiece/2017/soundtrack.md | 2 ++ layouts/partials/summary.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/content/robotics/smallpiece/2017/soundtrack.md b/content/robotics/smallpiece/2017/soundtrack.md index 390d7d7..1f9d59b 100644 --- a/content/robotics/smallpiece/2017/soundtrack.md +++ b/content/robotics/smallpiece/2017/soundtrack.md @@ -4,5 +4,7 @@ title: Soundtrack At the arena, we had music playing in the background, through the competition stages, and the testing phase. + + {{% spotify "spotify:user:theorangeone97:playlist:4ZaS9NTwF1erqqpE1IxHlP" %}} diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html index 9b490ce..eb67861 100644 --- a/layouts/partials/summary.html +++ b/layouts/partials/summary.html @@ -1 +1,2 @@ -{{ .Summary }}{{ if .Truncated }}…{{ end }} +{{ .Summary | plainify | chomp }}{{ if .Truncated }}…{{ end }} +