From ea330b4616d457824c71658fdace64d2e80d2353 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 7 Jan 2018 13:48:27 -0500 Subject: [PATCH] Attempting to work around sorting issue. --- site/layouts/index.html | 8 +------- site/layouts/partials/index_tweets.html | 7 +++++++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 site/layouts/partials/index_tweets.html diff --git a/site/layouts/index.html b/site/layouts/index.html index 7a3efd6c..4266cf72 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -2,13 +2,7 @@ {{ partial "home_hero" . }}
-
- {{ range sort .Site.Data.twitter "order" }} -
- {{ partial "widget/tweet.html" . }} -
- {{ end }} -
+ {{ partial "index_tweets" . }}
{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/index_tweets.html b/site/layouts/partials/index_tweets.html new file mode 100644 index 00000000..3d93c1f0 --- /dev/null +++ b/site/layouts/partials/index_tweets.html @@ -0,0 +1,7 @@ +
+ {{ range sort .Site.Data.twitter "order" }} +
+ {{ partial "widget/tweet.html" . }} +
+ {{ end }} +
\ No newline at end of file