From 0a26230fe13c116ed9d14a82a12a67f5480bfaa6 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 21 May 2024 20:09:48 -0700 Subject: [PATCH] Remove unused shortcodes Signed-off-by: Danila Fedorin --- layouts/shortcodes/gt_assumption.html | 9 --------- layouts/shortcodes/gt_css.html | 2 -- layouts/shortcodes/gt_link.html | 1 - 3 files changed, 12 deletions(-) delete mode 100644 layouts/shortcodes/gt_assumption.html delete mode 100644 layouts/shortcodes/gt_css.html delete mode 100644 layouts/shortcodes/gt_link.html diff --git a/layouts/shortcodes/gt_assumption.html b/layouts/shortcodes/gt_assumption.html deleted file mode 100644 index 7ec776e..0000000 --- a/layouts/shortcodes/gt_assumption.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ $n := .Page.Scratch.Get "gt-assumption-count" }} -{{ $newN := add 1 (int $n) }} -{{ .Page.Scratch.Set "gt-assumption-count" $newN }} -{{ .Page.Scratch.SetInMap "gt-assumptions" (.Get 0) $newN }} -
- - Assumption {{ $newN }} ({{ .Get 1 }}). - {{ .Inner }} -
diff --git a/layouts/shortcodes/gt_css.html b/layouts/shortcodes/gt_css.html deleted file mode 100644 index c514249..0000000 --- a/layouts/shortcodes/gt_css.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ $style := resources.Get "scss/gametheory.scss" | resources.ToCSS | resources.Minify }} - diff --git a/layouts/shortcodes/gt_link.html b/layouts/shortcodes/gt_link.html deleted file mode 100644 index bbcc32c..0000000 --- a/layouts/shortcodes/gt_link.html +++ /dev/null @@ -1 +0,0 @@ -assumption {{ index (.Page.Scratch.Get "gt-assumptions") (.Get 0) }}