From c38400e8a0c8496d2883ad6fd3c84c14ffe5463c Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Thu, 26 Jan 2023 17:41:41 -0500 Subject: [PATCH] Twitter swiper on mobile --- src/layouts/index.html | 66 ++++++++++++++++++- src/layouts/partials/twitter-card-swiper.html | 0 src/layouts/partials/twitter-grid.html | 15 +++++ 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 src/layouts/partials/twitter-card-swiper.html create mode 100644 src/layouts/partials/twitter-grid.html diff --git a/src/layouts/index.html b/src/layouts/index.html index 9a670fe..3375e32 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -820,7 +820,7 @@

DON’T JUST TAKE OUR WORD FOR IT… TWITTER’S BEEN SIPPING THE TEA TOO!

-
+
{{- partial "twitter-card.html" -}} {{- partial "twitter-card.html" -}} @@ -837,6 +837,19 @@ {{- partial "twitter-card.html" -}}
+
+
+
+
+ {{- range .Data.Pages }} +
+ {{- partial "twitter-card.html" . -}} +
+ {{- end }} +
+
+
+
@@ -859,6 +872,30 @@ + +
+
+ +
+
+ + + + + {{ end }} diff --git a/src/layouts/partials/twitter-card-swiper.html b/src/layouts/partials/twitter-card-swiper.html new file mode 100644 index 0000000..e69de29 diff --git a/src/layouts/partials/twitter-grid.html b/src/layouts/partials/twitter-grid.html new file mode 100644 index 0000000..626854c --- /dev/null +++ b/src/layouts/partials/twitter-grid.html @@ -0,0 +1,15 @@ +
+ {{- partial "twitter-card.html" -}} + {{- partial "twitter-card.html" -}} + {{- partial "twitter-card.html" -}} +
+
+ {{- partial "twitter-card.html" -}} + {{- partial "twitter-card.html" -}} + {{- partial "twitter-card.html" -}} +
+
+ {{- partial "twitter-card.html" -}} + {{- partial "twitter-card.html" -}} + {{- partial "twitter-card.html" -}} +