mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 02:12:49 +01:00 
			
		
		
		
	support Multilingual navigation
add reading time as i18n
This commit is contained in:
		@@ -52,7 +52,7 @@
 | 
			
		||||
  <footer class="entry-footer">
 | 
			
		||||
    <time>{{ .Date.Format "January 2, 2006" }}</time>
 | 
			
		||||
    {{ if $.Site.Params.ShowReadingTime }} .
 | 
			
		||||
    {{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
 | 
			
		||||
    {{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
 | 
			
		||||
    {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
 | 
			
		||||
  </footer>
 | 
			
		||||
  <a class="entry-link" href="{{ .Permalink }}"></a>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user