mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	archives: add posts count for each yr and month
* misc(css): rm unused
This commit is contained in:
		| @@ -8,10 +8,12 @@ | ||||
| {{- range $pages.GroupByPublishDate "2006" }} | ||||
| {{- if ne .Key "0001" }} | ||||
| <div class="archive-year"> | ||||
|   <h2 class="archive-year-header">{{- replace .Key "0001" "" }}</h2> | ||||
|   <h2 class="archive-year-header"> | ||||
|     {{- replace .Key "0001" "" }}<sup class="archive-count">  {{ len .Pages }}</sup> | ||||
|   </h2> | ||||
|   {{- range .Pages.GroupByDate "January" }} | ||||
|   <div class="archive-month"> | ||||
|     <h3 class="archive-month-header">{{- .Key }}</h3> | ||||
|     <h3 class="archive-month-header">{{- .Key }}<sup class="archive-count">  {{ len .Pages }}</h3> | ||||
|     <div class="archive-posts"> | ||||
|       {{- range .Pages  }} | ||||
|       {{- if eq .Kind "page" }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange