mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 01:53:30 -05:00 
			
		
		
		
	Clean up directory structure of partials and .Render templates
This commit is contained in:
		| @@ -35,7 +35,7 @@ | ||||
|     <div class="page-list"> | ||||
|         <ul> | ||||
|             {{ range .Paginator.Pages }} | ||||
|             <li>{{ .Render "summary" }}</li> | ||||
|             <li>{{ .Render "summary/post" }}</li> | ||||
|             {{ else }} | ||||
|             <div> | ||||
|                 {{ i18n "no_posts" }} | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|     </h1> | ||||
| </div> | ||||
|  | ||||
| {{ partial "post-metadata.html" . }} | ||||
| {{ partial "post-metadata/full.html" . }} | ||||
|  | ||||
|  | ||||
| {{ with (.GetTerms "series") }} | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|         {{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }} | ||||
|     </h2> | ||||
| 
 | ||||
|     {{ partial "author-metadata.html" . }} | ||||
|     {{ partial "post-metadata/author.html" . }} | ||||
| 
 | ||||
|     <div class="post-description"> | ||||
|         {{ partial "description-or-summary.html" . }} | ||||
| @@ -5,7 +5,7 @@ | ||||
|         {{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }} | ||||
|     </h2> | ||||
| 
 | ||||
|     {{ partial "post-metadata-short.html" . }} | ||||
|     {{ partial "post-metadata/short.html" . }} | ||||
| 
 | ||||
|     {{ with .Resources.GetMatch "feature" }} | ||||
|     <div class="post-media"> | ||||
| @@ -6,7 +6,7 @@ | ||||
|     </h2> | ||||
| 
 | ||||
|     <div class="post-metadata"> | ||||
|         {{ partial "translations-meta-item.html" . }} | ||||
|         {{ partial "post-meta-item/translations.html" . }} | ||||
| 
 | ||||
|         {{ if ne .Site.Params.readingtime false }} | ||||
|         <span class="post-meta-item"> | ||||
| @@ -19,7 +19,7 @@ | ||||
|         </span> | ||||
|         {{ end }} | ||||
| 
 | ||||
|         {{ partial "viewsource-meta-item.html" . }} | ||||
|         {{ partial "post-meta-item/viewsource.html" . }} | ||||
|     </div> | ||||
| 
 | ||||
|     <div class="post-description"> | ||||
| @@ -29,7 +29,7 @@ | ||||
|     <div class="series-pages"> | ||||
|         <ul> | ||||
|             {{ range .Data.Pages.Reverse }} | ||||
|             <li>{{ .Render "summary" }}</li> | ||||
|             <li>{{ .Render "summary/post" }}</li> | ||||
|             {{ end }} | ||||
|         </ul> | ||||
|     </div> | ||||
		Reference in New Issue
	
	Block a user