Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mogador26 committed Feb 3, 2024
1 parent c986ad5 commit 5ef3732
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,30 @@ Une adaptation des fichiers markdown est nécessaire.

- sans menu:

```
```yaml
---
title: données et api
layout: layouts/page.njk
showBreadcrumb: true
---
```

ou

```yaml
---
title: données et api
layout: layouts/page_date_readtime.njk
showBreadcrumb: true
date: Last Modified
---
```

> Le layout personnalisé inclue la date de publication et le temps de lecture
- référencement dans un menu:

```
```yaml
---
title: Pour commencer
layout: layouts/page.njk
Expand All @@ -76,6 +88,23 @@ eleventyNavigation:
---
```

ou

```yaml
---
title: Pour commencer
layout: layouts/page_date_readtime.njk
showBreadcrumb: true
date: Last Modified
eleventyNavigation:
key: pour commencer
parent: Documentation
order: 1
---
```

> Le layout personnalisé inclue la date de publication et le temps approximatif de lecture
#### bas de page

```
Expand Down

0 comments on commit 5ef3732

Please sign in to comment.