diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/inline-heading.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/menu-inline.md | 25 | ||||
-rw-r--r-- | layouts/shortcodes/st-voy-reviews.html | 14 |
3 files changed, 40 insertions, 0 deletions
diff --git a/layouts/shortcodes/inline-heading.html b/layouts/shortcodes/inline-heading.html new file mode 100644 index 0000000..59448a1 --- /dev/null +++ b/layouts/shortcodes/inline-heading.html @@ -0,0 +1 @@ +{{ .Inner }} diff --git a/layouts/shortcodes/menu-inline.md b/layouts/shortcodes/menu-inline.md new file mode 100644 index 0000000..356c675 --- /dev/null +++ b/layouts/shortcodes/menu-inline.md @@ -0,0 +1,25 @@ +{{- $menuID := .Get 0 }} +{{- $caption := .Inner }} + +<nav> + <ol> + {{- range index site.Menus $menuID }} + <li> + <a href="{{ .URL }}"> + {{ .Name }} + </a> + + {{ if .HasChildren }} + <ul> + {{ range .Children }} + <li> + <a href="{{ .URL }}"> + {{ .Name }} + </a> + {{ end }} + </ul> + + {{ end }} + {{- end }} +</ol> +</nav> diff --git a/layouts/shortcodes/st-voy-reviews.html b/layouts/shortcodes/st-voy-reviews.html new file mode 100644 index 0000000..dd402d6 --- /dev/null +++ b/layouts/shortcodes/st-voy-reviews.html @@ -0,0 +1,14 @@ +{{ $inner := .Inner }} +<nav class="inline-nav"> + <h4>Impressions (reviews)</h4> + <ul> + + <li> + <B>S05:</B> + {{- range index site.Menus "st-voy-rev-s5" }} + <a href="{{ .URL }}"> {{ .Name }}</a> + {{- end }} + </li> + + </ul> +</nav> |