diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-27 13:10:06 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-27 13:10:06 +0800 |
| commit | 83f509dd79c381a8bb1254a5de14568c61bb92e2 (patch) | |
| tree | edf57e3b77b0ae2933de06dabf0167c0621f78b8 /layouts/library/section.html | |
| parent | 6576dc46469cdf1fb25cedf2699fe4ba7002a5ef (diff) | |
feat: add library section
Diffstat (limited to 'layouts/library/section.html')
| -rw-r--r-- | layouts/library/section.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/library/section.html b/layouts/library/section.html new file mode 100644 index 00000000..834717e7 --- /dev/null +++ b/layouts/library/section.html @@ -0,0 +1,14 @@ +{{ define "main" }} + {{ partial "header.html" . }} + <article id="library"> + <div id="library-content"> + {{- range .Pages }} + <div class="book"> + <a href="{{ .Permalink }}" class="book-cover" style="view-transition-name: book-{{ .Title }}"> + <img src="{{ .Params.cover }}" /> + </a> + </div> + {{- end }} + </div> + </article> +{{ end }} |
