[ci skip] Update the single page with changes from Ananke
This commit is contained in:
		
					parent
					
						
							
								5fe38d0246
							
						
					
				
			
			
				commit
				
					
						7cb9c7745f
					
				
			
		
					 1 changed files with 9 additions and 7 deletions
				
			
		|  | @ -20,19 +20,21 @@ | |||
|       </h1> | ||||
|       {{ with .Params.author }} | ||||
|       <p class="tracked"> | ||||
|           By <strong> | ||||
|           {{ if reflect.IsSlice . }} | ||||
|           {{ $.Render "by" }} <strong> | ||||
|           {{- if reflect.IsSlice . -}} | ||||
|               {{ delimit . ", " | markdownify }} | ||||
|           {{else}} | ||||
|           {{- else -}} | ||||
|               {{ . | markdownify }} | ||||
|           {{ end }} | ||||
|           {{- end -}} | ||||
|           </strong> | ||||
|       </p> | ||||
|       {{ end }} | ||||
|       {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} | ||||
|       {{ if not .Date.IsZero }} | ||||
|       <time class="f6 mv4 dib tracked" {{ printf `datetime="%s"` (.Date.Format "2006-01-02T15:04:05Z07:00") | safeHTMLAttr }}> | ||||
|         {{- .Date.Format "January 2, 2006" -}} | ||||
|         {{- .Date | time.Format (default "January 2, 2006" .Site.Params.date_format) -}} | ||||
|       </time> | ||||
|       {{end}} | ||||
| 
 | ||||
|       {{/* | ||||
|           Show "reading time" and "word count" but only if one of the following are true: | ||||
|  | @ -41,8 +43,8 @@ | |||
|           3) A page front matter value is set `show_reading_time = true` | ||||
|         */}} | ||||
|       {{ if (or (eq (.Param "show_reading_time") true) (eq $section.Params.show_reading_time true) )}} | ||||
|         <span class="f6 mv4 dib tracked"> - {{ .ReadingTime}} minutes read</span> | ||||
|         <span class="f6 mv4 dib tracked"> - {{ .WordCount}} words</span> | ||||
|         <span class="f6 mv4 dib tracked"> - {{ i18n "readingTime" .ReadingTime }} </span> | ||||
|         <span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span> | ||||
|       {{ end }} | ||||
|         {{ if .Site.Params.commentoEnable }} | ||||
|         <span class="f6 mv4 tr dib tracked"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue