Skip to content

Commit 7e5aefe

Browse files
committed
Remove Archives from the Blog Sidebar
Signed-off-by: Steve Scargall <[email protected]>
1 parent d3430ef commit 7e5aefe

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

themes/memmachine/layouts/_partials/blog-sidebar.html

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,6 @@ <h4 style="margin: 60px 0 36px 0; border-bottom: 1px solid rgb(31, 31, 50);" dat
2525
{{ end }}
2626
</div>
2727

28-
{{/* --- ARCHIVES --- */}}
29-
<h4 style="margin: 60px 0 36px 0; border-bottom: 1px solid rgb(31, 31, 50);" data-aos="fade-up" data-aos-duration="1000">
30-
Archives
31-
</h4>
32-
<div class="taxonomy-list" data-aos="fade-up" data-aos-duration="1000">
33-
{{ range (where site.RegularPages "Section" "blog").GroupByDate "January 2006" }}
34-
{{ $firstPage := index .Pages 0 }}
35-
{{ $url := printf "/blog/%d/%s/" $firstPage.Date.Year ($firstPage.Date.Format "01") }}
36-
<a href="{{ $url | relLangURL }}" class="taxonomy-button">{{ .Key }}</a>
37-
{{ end }}
38-
</div>
39-
4028
{{/* --- TAGS --- */}}
4129
<h4 style="margin: 60px 0 36px 0; border-bottom: 1px solid rgb(31, 31, 50);" data-aos="fade-up" data-aos-duration="1000">
4230
Tags

0 commit comments

Comments
 (0)