mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-28 16:53:30 -05:00 
			
		
		
		
	Fix #16
This commit is contained in:
		| @@ -1,13 +1,20 @@ | |||||||
| {{ define "main" }} | {{ define "main" }} | ||||||
| {{ if .Data.Singular }} | {{ if or (eq .Kind "term") (eq .Kind "taxonomy") }} | ||||||
| <h3>Filtering for "{{ .Title }}"</h3> | <h1>Filtering for "{{ .Title }}"</h1> | ||||||
| <small> |  | ||||||
|     <a href="{{ . | relURL }}">Remove filter</a> |  | ||||||
| </small> |  | ||||||
| {{ else }} | {{ else }} | ||||||
| <h1>{{ .Title | markdownify }}</h1> | <h1>{{ .Title | markdownify }}</h1> | ||||||
| {{ end }} | {{ end }} | ||||||
|  |  | ||||||
|  | {{ if eq .Kind "taxonomy" }} | ||||||
|  | <ul> | ||||||
|  |     {{ range .Pages }} | ||||||
|  |     <li> | ||||||
|  |         <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> | ||||||
|  |     </li> | ||||||
|  |     {{ end }} | ||||||
|  | </ul> | ||||||
|  |  | ||||||
|  | {{ else }} | ||||||
| {{ range .Paginator.Pages }} | {{ range .Paginator.Pages }} | ||||||
| <div class="post"> | <div class="post"> | ||||||
|     <h2 class="post-title"> |     <h2 class="post-title"> | ||||||
| @@ -65,3 +72,5 @@ | |||||||
| </div> | </div> | ||||||
|  |  | ||||||
| {{ end }} | {{ end }} | ||||||
|  |  | ||||||
|  | {{ end }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user