From c7133cbfcd6c45ac9d71a983133981f29f2b1f5c Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 29 May 2022 12:30:14 +0200 Subject: Move software list from partials to shortcodes --- themes/bare/layouts/index.html | 2 -- themes/bare/layouts/partials/software_list.html | 5 ----- themes/bare/layouts/shortcodes/softwarelist.md | 3 +++ 3 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 themes/bare/layouts/partials/software_list.html create mode 100644 themes/bare/layouts/shortcodes/softwarelist.md (limited to 'themes') diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index e454f71..6d11e7a 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -31,8 +31,6 @@ {{.Content}} - {{ partial "software_list.html" . }} -

diff --git a/themes/bare/layouts/partials/software_list.html b/themes/bare/layouts/partials/software_list.html deleted file mode 100644 index 76e92c7..0000000 --- a/themes/bare/layouts/partials/software_list.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/themes/bare/layouts/shortcodes/softwarelist.md b/themes/bare/layouts/shortcodes/softwarelist.md new file mode 100644 index 0000000..e2d4e24 --- /dev/null +++ b/themes/bare/layouts/shortcodes/softwarelist.md @@ -0,0 +1,3 @@ +{{ range $.Site.Data.repositories }} +- {{ .name }} - {{ .description }} [ [Git](https://cgit.xengineering.eu/{{ .name }}) | [Atom](https://cgit.xengineering.eu/{{ .name }}/atom) ] +{{ end }} -- cgit v1.2.3-70-g09d2