mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 11:25:26 +01:00 
			
		
		
		
	Refine [draft] tag display
				
					
				
			This commit is contained in:
		| @@ -30,7 +30,7 @@ | ||||
|       <div class="archive-entry"> | ||||
|         <h3 class="archive-entry-title"> | ||||
|           {{- .Title | markdownify }} | ||||
|           {{- if .Draft }}<div class="entry-isdraft"><sup>  [draft]</sup></div>{{- end }} | ||||
|           {{- if .Draft }}<sup><span class="entry-isdraft">  [draft]</span></sup>{{- end }} | ||||
|         </h3> | ||||
|         <div class="archive-meta"> | ||||
|           {{- partial "post_meta.html" . -}} | ||||
|   | ||||
| @@ -54,7 +54,7 @@ | ||||
|   <header class="entry-header"> | ||||
|     <h2> | ||||
|       {{- .Title }} | ||||
|       {{- if .Draft }}<div class="entry-isdraft"><sup>  [draft]</sup></div>{{ end -}} | ||||
|       {{- if .Draft }}<sup><span class="entry-isdraft">  [draft]</span></sup>{{- end }} | ||||
|     </h2> | ||||
|   </header> | ||||
|   {{- if (ne (.Param "hideSummary") true) }} | ||||
|   | ||||
| @@ -5,7 +5,7 @@ | ||||
|     {{ partial "breadcrumbs.html" . }} | ||||
|     <h1 class="post-title"> | ||||
|       {{ .Title }} | ||||
|       {{- if .Draft }}<div class="entry-isdraft"><sup>  [draft]</sup></div>{{- end }} | ||||
|       {{- if .Draft }}<sup><span class="entry-isdraft">  [draft]</span></sup>{{- end }} | ||||
|     </h1> | ||||
|     {{- if .Description }} | ||||
|     <div class="post-description"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange