summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/layouts/shortcodes/pageinfo.html
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-10-18 00:19:24 -0400
committerIan Lewis <ianlewis@google.com>2019-11-13 13:03:16 -0800
commita2b055de52cb90180ad57c26119fe72e61d70494 (patch)
treea156c39ba5e044fa42600a6c2d7ddd7dd91c350c /themes/docsy/layouts/shortcodes/pageinfo.html
parentcf5b8ec088eac99ede97a6c9e381485695638dee (diff)
Updated to Docsy HEAD
This updates the vendored docsy to https://github.com/google/docsy/tree/1a09abe6d7eaf02e44f79de3eadf8178a3792e81
Diffstat (limited to 'themes/docsy/layouts/shortcodes/pageinfo.html')
-rw-r--r--themes/docsy/layouts/shortcodes/pageinfo.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/docsy/layouts/shortcodes/pageinfo.html b/themes/docsy/layouts/shortcodes/pageinfo.html
new file mode 100644
index 000000000..303f8c5fd
--- /dev/null
+++ b/themes/docsy/layouts/shortcodes/pageinfo.html
@@ -0,0 +1,5 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
+{{ $color := .Get "color" | default "primary" }}
+<div class="pageinfo pageinfo-{{ $color }}">
+{{ .Inner }}
+</div>