feat: add description section to section/term/taxonomies, fix header margin
This commit is contained in:
		
							parent
							
								
									7ccff2cf3d
								
							
						
					
					
						commit
						b2555ced61
					
				
					 4 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
					@ -177,6 +177,7 @@ blockquote {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
article {
 | 
					article {
 | 
				
			||||||
  & > h1 {
 | 
					  & > h1 {
 | 
				
			||||||
 | 
					    margin-top: 2em;
 | 
				
			||||||
    font-size: 2em;
 | 
					    font-size: 2em;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,9 @@
 | 
				
			||||||
    {{partial "header.html" .}}
 | 
					    {{partial "header.html" .}}
 | 
				
			||||||
    <article>
 | 
					    <article>
 | 
				
			||||||
        <h1>All {{.Title}}</h1>
 | 
					        <h1>All {{.Title}}</h1>
 | 
				
			||||||
 | 
					        {{with .Params.description}}
 | 
				
			||||||
 | 
					            <p>{{.}}</p>
 | 
				
			||||||
 | 
					        {{end}}
 | 
				
			||||||
        {{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }}
 | 
					        {{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }}
 | 
				
			||||||
        {{ template "_internal/pagination.html" .}}
 | 
					        {{ template "_internal/pagination.html" .}}
 | 
				
			||||||
    </article>
 | 
					    </article>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,9 @@
 | 
				
			||||||
    {{partial "header.html" .}}
 | 
					    {{partial "header.html" .}}
 | 
				
			||||||
    <article>
 | 
					    <article>
 | 
				
			||||||
        <h1>All {{.Title}}</h1>
 | 
					        <h1>All {{.Title}}</h1>
 | 
				
			||||||
 | 
					        {{with .Params.description}}
 | 
				
			||||||
 | 
					            <p>{{.}}</p>
 | 
				
			||||||
 | 
					        {{end}}
 | 
				
			||||||
        <div class="tags">
 | 
					        <div class="tags">
 | 
				
			||||||
            {{ range .Site.Taxonomies.tags.ByCount }}
 | 
					            {{ range .Site.Taxonomies.tags.ByCount }}
 | 
				
			||||||
            <div class="meta">
 | 
					            <div class="meta">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,9 @@
 | 
				
			||||||
    {{partial "header.html" .}}
 | 
					    {{partial "header.html" .}}
 | 
				
			||||||
    <article>
 | 
					    <article>
 | 
				
			||||||
        <h1>Tag: {{ .Title }}</h1>
 | 
					        <h1>Tag: {{ .Title }}</h1>
 | 
				
			||||||
 | 
					        {{with .Params.description}}
 | 
				
			||||||
 | 
					            <p>{{.}}</p>
 | 
				
			||||||
 | 
					        {{end}}
 | 
				
			||||||
        {{partial "page-list.html" .Paginator.Pages}}
 | 
					        {{partial "page-list.html" .Paginator.Pages}}
 | 
				
			||||||
        {{ template "_internal/pagination.html" . }}
 | 
					        {{ template "_internal/pagination.html" . }}
 | 
				
			||||||
    </article>
 | 
					    </article>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue