Source code of my website
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

✨ : add lastmod date info

+12 -2
+3 -1
i18n/en.yml
··· 16 16 previous: « Previous 17 17 next: Next » 18 18 19 - toc: Contents 19 + toc: Contents 20 + 21 + lastmod: Updated on
+3 -1
i18n/fr.yml
··· 16 16 previous: « Précédent 17 17 next: Suivant » 18 18 19 - toc: Sommaire 19 + toc: Sommaire 20 + 21 + lastmod: Mis à jour le
+6
layouts/partials/post/info.html
··· 10 10 {{ .Date | time.Format ":date_medium" }} 11 11 </time> 12 12 {{ end }} 13 + {{ if .Lastmod }} 14 + <span> - {{ i18n "lastmod" }}</span> 15 + <time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z0700" }}" class="post-date"> 16 + {{ .Lastmod | time.Format ":date_medium" }} 17 + </time> 18 + {{ end }} 13 19 <span> - </span> 14 20 <span class="reading-time"> 15 21 <span>{{ i18n "readingTime" .ReadingTime }}</span>