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