summaryrefslogtreecommitdiff
path: root/layouts/partials/blog-section-list.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 01:36:12 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 01:36:12 +0530
commit77d4a98a666ef6c2c18c10f2f2d62210f9eeb752 (patch)
tree11c75334b682009ff015a0fcd2e8eddc7eb4d315 /layouts/partials/blog-section-list.html
first commit
Diffstat (limited to 'layouts/partials/blog-section-list.html')
-rw-r--r--layouts/partials/blog-section-list.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/blog-section-list.html b/layouts/partials/blog-section-list.html
new file mode 100644
index 0000000..b475f27
--- /dev/null
+++ b/layouts/partials/blog-section-list.html
@@ -0,0 +1,8 @@
+{{ range .Sections.ByDate.Reverse }}
+ <div class="blog-section-wrapper">
+ <a href="{{ .RelPermalink }}">
+ <h2 class="blog-section" id="{{ .Title }}">{{ .Title }}</h2>
+ </a>
+ {{- partial "blog-list.html" . -}}
+ </div>
+{{ end }}