mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	list, index : show reading time
if Params.ShowReadingTime = true
This commit is contained in:
		| @@ -32,6 +32,8 @@ | ||||
|   </section> | ||||
|   <footer class="entry-footer"> | ||||
|     <time>{{ .Date.Format "January 2, 2006" }}</time> | ||||
|     {{ if $.Site.Params.ShowReadingTime }} . | ||||
|     {{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }} | ||||
|   </footer> | ||||
|   <a class="entry-link" href="{{ .Permalink }}"></a> | ||||
| </article> | ||||
|   | ||||
| @@ -27,6 +27,8 @@ | ||||
|   </section> | ||||
|   <footer class="entry-footer"> | ||||
|     <time>{{ .Date.Format "January 2, 2006" }}</time> | ||||
|     {{ if $.Site.Params.ShowReadingTime }} . | ||||
|     {{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }} | ||||
|   </footer> | ||||
|   <a class="entry-link" href="{{ .Permalink }}"></a> | ||||
| </article> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange