mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 04:06:36 +00:00 
			
		
		
		
	Add list page for taxonomies (terms)
This commit is contained in:
		
							parent
							
								
									164f1b3d53
								
							
						
					
					
						commit
						309df89c8c
					
				
					 1 changed files with 19 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								layouts/_default/terms.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								layouts/_default/terms.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
{{ define "main" }}
 | 
			
		||||
  <div id="main">
 | 
			
		||||
    <div class="container">
 | 
			
		||||
      {{ partial "content.html" . }}
 | 
			
		||||
      {{ if .Content }}
 | 
			
		||||
        <hr>
 | 
			
		||||
      {{ end }}
 | 
			
		||||
      {{ range .Pages.ByTitle }}
 | 
			
		||||
        <div class="media list-page-item mb-3">
 | 
			
		||||
          <div class="media-body">
 | 
			
		||||
            <a href="{{ .RelPermalink }}">
 | 
			
		||||
              <h5 class="my-0"><code>#{{ .Title }}</code></h5>
 | 
			
		||||
            </a>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      {{ end }}
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
{{ end }}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue