From c0b5d67c3d3574edf8d17ecca68c1054346eb49b Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 3 Sep 2019 21:23:45 -0700 Subject: [PATCH] Add missing shortcodes for G-machine display --- layouts/shortcodes/gmachine | 8 ++++++++ layouts/shortcodes/gmachine_css | 2 ++ layouts/shortcodes/gmachine_inner | 8 ++++++++ 3 files changed, 18 insertions(+) create mode 100644 layouts/shortcodes/gmachine create mode 100644 layouts/shortcodes/gmachine_css create mode 100644 layouts/shortcodes/gmachine_inner diff --git a/layouts/shortcodes/gmachine b/layouts/shortcodes/gmachine new file mode 100644 index 0000000..11b5b95 --- /dev/null +++ b/layouts/shortcodes/gmachine @@ -0,0 +1,8 @@ +
+
+ {{ .Get 0 }} +
+
+ {{ .Inner }} +
+
diff --git a/layouts/shortcodes/gmachine_css b/layouts/shortcodes/gmachine_css new file mode 100644 index 0000000..5540266 --- /dev/null +++ b/layouts/shortcodes/gmachine_css @@ -0,0 +1,2 @@ +{{ $style := resources.Get "scss/gmachine.scss" | resources.ToCSS | resources.Minify }} + diff --git a/layouts/shortcodes/gmachine_inner b/layouts/shortcodes/gmachine_inner new file mode 100644 index 0000000..1c8987c --- /dev/null +++ b/layouts/shortcodes/gmachine_inner @@ -0,0 +1,8 @@ +
+
+ {{ .Get 0 }} +
+
+ {{ .Inner }} +
+