diff --git a/i18n/en.yml b/i18n/en.yml index 15e84753fb48f80769a8ba3bb91a608135d2ee01..4694fe94265eb08e14b7d20407cf1fafef23b567 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -149,6 +149,11 @@ pages: details: Details informations: Informations posts: News +papers: + dates: + published: Published + accepted: Accepted + received: Received persons: posts: News programs: Programs diff --git a/i18n/fr.yml b/i18n/fr.yml index 5409cda40690e8f3b72e73dabc650ca83c64d677..ec104486c425dcda3d9c6f76a789e054d2928341 100644 --- a/i18n/fr.yml +++ b/i18n/fr.yml @@ -149,6 +149,11 @@ pages: details: En détail informations: Informations posts: Actualités +papers: + dates: + published: Publié le + accepted: Accepté le + received: Reçu le persons: posts: Actualités publiées récemment programs: Enseignements diff --git a/layouts/partials/papers/document-nav.html b/layouts/partials/papers/document-nav.html index 22055dc8d2aa295ec7adc9e1d6e4100ce09c1c1f..49b04d431ee141a35109827d2a0609dcd6fb99eb 100644 --- a/layouts/partials/papers/document-nav.html +++ b/layouts/partials/papers/document-nav.html @@ -46,5 +46,26 @@ <time itemprop="datePublished" datetime="{{ .Date | time.Format "2006-01-02T15:04" }}">{{ .Date | time.Format ":date_long" }}</time> </dd> {{ end }} + + {{ with .Params.dates.published }} + <dt>{{ i18n "papers.dates.published" }}</dt> + <dd> + <time itemprop="datePublished" datetime="{{ . | time.Format "2006-01-02T15:04" }}">{{ . | time.Format ":date_long" }}</time> + </dd> + {{ end }} + + {{ with .Params.dates.accepted }} + <dt>{{ i18n "papers.dates.accepted" }}</dt> + <dd> + <time itemprop="datePublished" datetime="{{ . | time.Format "2006-01-02T15:04" }}">{{ . | time.Format ":date_long" }}</time> + </dd> + {{ end }} + + {{ with .Params.dates.received }} + <dt>{{ i18n "papers.dates.received" }}</dt> + <dd> + <time itemprop="datePublished" datetime="{{ . | time.Format "2006-01-02T15:04" }}">{{ . | time.Format ":date_long" }}</time> + </dd> + {{ end }} </dl> </aside>