| | |
| | | </h1> |
| | | {{ with .Params.author | default .Site.Params.author }} |
| | | <p class="tracked"> |
| | | By <strong> |
| | | {{ if reflect.IsSlice . }} |
| | | {{ delimit . ", " | markdownify }} |
| | | {{else}} |
| | | {{ . | markdownify }} |
| | | {{ end }} |
| | | </strong> |
| | | {{ $.Render "by" }} <strong> |
| | | {{- if reflect.IsSlice . -}} |
| | | {{ delimit . ", " | markdownify }} |
| | | {{- else -}} |
| | | {{ . | markdownify }} |
| | | {{- 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 (default "January 2, 2006" .Site.Params.date_format) -}} |
| | | {{- .Date | time.Format (default "January 2, 2006" .Site.Params.date_format) -}} |
| | | </time> |
| | | {{end}} |
| | | |
| | |
| | | <span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span> |
| | | {{ end }} |
| | | </header> |
| | | <div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | default "serif"}} f4 nested-links {{ $.Param "text_color" | default "mid-gray" }} pr4-l w-two-thirds-l"> |
| | | <div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | default "serif"}} f4 nested-links {{ $.Param "text_color" | default "mid-gray" }} {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl4-l" "pr4-l" }} w-two-thirds-l"> |
| | | {{- .Content -}} |
| | | {{- partial "tags.html" . -}} |
| | | <div class="mt6 instapaper_ignoref"> |