diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-31 08:43:42 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-31 08:43:42 +0700 |
commit | 000d2655efb7839a6b626fae82bf310bd4b4ab74 (patch) | |
tree | 26b6720ff507b4a29816c13cc50942a084812e99 /layouts/partials/generic-list.html | |
parent | e75b69fd48bc953f6dfe2c65c1f70798da3b8adc (diff) | |
download | victor-000d2655efb7839a6b626fae82bf310bd4b4ab74.tar.gz |
Add book section recursion
Diffstat (limited to 'layouts/partials/generic-list.html')
-rw-r--r-- | layouts/partials/generic-list.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/generic-list.html b/layouts/partials/generic-list.html new file mode 100644 index 0000000..e8397c4 --- /dev/null +++ b/layouts/partials/generic-list.html @@ -0,0 +1,12 @@ + <section class="list"> + <ul> + {{ range sort .Pages "Date" }} + <li> + <a href="{{ .RelPermalink }}">{{ trim .Title " " }}</a> + {{ partial "post-language-switcher.html" . }} + {{ partial "post-info.html" . }} + </li> + {{ end }} + <ul> + </section> + |