diff options
-rw-r--r-- | themes/bare/layouts/index.html | 6 | ||||
-rw-r--r-- | themes/bare/layouts/partials/software_list.html | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index 672a031..e454f71 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -31,11 +31,7 @@ {{.Content}} - <ul> - {{ range $.Site.Data.repositories }} - <li>{{ .name }} - {{ .description }} [ <a href="https://cgit.xengineering.eu/{{ .name }}">Git</a> | <a href="https://cgit.xengineering.eu/{{ .name }}/atom">Atom</a> ]</li> - {{ end }} - </ul> + {{ partial "software_list.html" . }} <br> <hr> diff --git a/themes/bare/layouts/partials/software_list.html b/themes/bare/layouts/partials/software_list.html new file mode 100644 index 0000000..76e92c7 --- /dev/null +++ b/themes/bare/layouts/partials/software_list.html @@ -0,0 +1,5 @@ +<ul> +{{ range $.Site.Data.repositories }} + <li>{{ .name }} - {{ .description }} [ <a href="https://cgit.xengineering.eu/{{ .name }}">Git</a> | <a href="https://cgit.xengineering.eu/{{ .name }}/atom">Atom</a> ]</li> +{{ end }} +</ul> |