A more generic tag/value component
Write styles and templates for a more generic tag/value component. Use this component for the taxonomy lists, draft tag, and page dates in the summary template.
This commit is contained in:
		
							parent
							
								
									b51aca950c
								
							
						
					
					
						commit
						edd6eb996b
					
				
					 11 changed files with 123 additions and 58 deletions
				
			
		| 
						 | 
				
			
			@ -9,9 +9,11 @@
 | 
			
		|||
    {{ end -}}
 | 
			
		||||
 | 
			
		||||
    <div class="main--list__page-list">
 | 
			
		||||
      {{ range .Pages.ByDate.Reverse }}
 | 
			
		||||
        {{ .Render "page_summary" }}
 | 
			
		||||
      {{ end }}
 | 
			
		||||
      {{ range .Pages.ByDate.Reverse -}}
 | 
			
		||||
        {{ if or (not .Draft) hugo.IsDevelopment }}
 | 
			
		||||
          {{ .Render "page_summary" }}
 | 
			
		||||
        {{ end }}
 | 
			
		||||
      {{- end }}
 | 
			
		||||
    </div>
 | 
			
		||||
  </main>
 | 
			
		||||
{{ end }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue