Skip to content

Commit

Permalink
date et tags partout
Browse files Browse the repository at this point in the history
  • Loading branch information
slafayIGN committed Jun 12, 2024
1 parent e90a405 commit b0e4ab1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _includes/layouts/page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ sidemenu: false
{% include "components/breadcrumb.njk" %}
{% endif %}
<h1 class="fr-mt-6v">{{ title }}</h1>
{% include "components/taggroup.njk" %}
<p class="fr-text--xs">
{{ "published_on" | i18n }}
<time datetime="{{ page.date | htmlDateString }}">{{ page.date | readableDate }}</time>
</p>

{% if description %}<p class="fr-text--lead">{{ description }}</p>{% endif %}
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions content/fr/fr.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ module.exports = {
}
},
showBreadcrumb: true,
date: "git Last Modified",
};

0 comments on commit b0e4ab1

Please sign in to comment.