Add initial theme assets, layouts, and configuration for Hugo site

This commit is contained in:
2025-03-26 21:18:45 +08:00
parent f2b5a7835c
commit c074b25fc6
78 changed files with 9440 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{{ if gt .TotalPages 1 }}
<div class="pagination">
<div class="pagination-control">
{{ if .HasPrev }}
<a href="{{ .Prev.URL | absURL }}">
prev
</a>
{{ end }}
</div>
<div class="page-number">
<p>
{{ .PageNumber }}/{{ .TotalPages }}
</p>
</div>
<div class="pagination-control">
{{ if .HasNext }}
<a href="{{ .Next.URL | absURL }}">
next
</a>
{{ end }}
</div>
</div>
{{ end }}