feat: improve styling for lists, fix anchor offset
This commit is contained in:
		@@ -12,11 +12,11 @@
 | 
			
		||||
        <div class="tags">
 | 
			
		||||
            {{ range .Site.Taxonomies.tags.ByCount }}
 | 
			
		||||
            <div class="meta">
 | 
			
		||||
                <h1><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a></h1>
 | 
			
		||||
                <p><b>{{ .Count }}</b> notes with this tag {{if gt .Count 2}}(showing first 2 results){{end}}</p>
 | 
			
		||||
                <h1><a href="{{ .Page.Permalink }}">{{ .Page.Title | humanize }}</a></h1>
 | 
			
		||||
                <p><b>{{ .Count }}</b> notes with this tag {{if gt .Count 10}}(showing first 10 results){{end}}</p>
 | 
			
		||||
            </div>
 | 
			
		||||
            {{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }}
 | 
			
		||||
            {{partial "page-list.html" (first 2 .Pages.ByLastmod.Reverse)}}
 | 
			
		||||
            {{partial "page-list.html" (first 10 .Pages.ByLastmod.Reverse)}}
 | 
			
		||||
            {{ end }}
 | 
			
		||||
            {{ end }}
 | 
			
		||||
        </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user