diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/button-list.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/shortcodes/button-list.html b/layouts/shortcodes/button-list.html new file mode 100644 index 0000000..d6ea466 --- /dev/null +++ b/layouts/shortcodes/button-list.html @@ -0,0 +1,8 @@ +<select name="Academia"> +{{ $p := where .Site.Pages "Section" "==" "academia" }} +{{ range $p }} +{{range .Sections}} +<option value="{{.Title}}">{{.Title}}</option> +{{end}} +{{ end }} +</select> |