summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/actions.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/actions.html')
-rw-r--r--layouts/shortcodes/actions.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/shortcodes/actions.html b/layouts/shortcodes/actions.html
new file mode 100644
index 0000000..296a211
--- /dev/null
+++ b/layouts/shortcodes/actions.html
@@ -0,0 +1,7 @@
+{{ $link := .Get "url" }}
+{{ $desc := .Get "desc" }}
+{{ $outclass := .Get "outclass" }}
+{{ $inclass := .Get "inclass" }}
+<ul class="actions{{ with $outclass }} {{ . }}{{ end }}">
+ <li><a href="{{ $link }}" class="button{{ with $inclass }} {{ . }}{{ end }}">{{ $desc }}</a></li>
+</ul>