Skip to content

Commit

Permalink
Fix template lookup order for AMP pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored Aug 28, 2024
1 parent 30c672d commit 45b732e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions data/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ output:
- layouts/_default/demolayout-baseof.html
- layouts/_default/single-baseof.html
- layouts/_default/baseof.html
- Example: AMP single page
- Example: AMP single page in "posts" section
Kind: page
OutputFormat: amp
Suffix: html
Expand All @@ -1874,17 +1874,17 @@ output:
- layouts/posts/single.html
- layouts/_default/single.amp.html
- layouts/_default/single.html
- Example: AMP single page, French language
- Example: AMP single page in "posts" section, French language
Kind: page
OutputFormat: html
OutputFormat: amp
Suffix: html
Template Lookup Order:
- layouts/posts/single.fr.html.html
- layouts/posts/single.html.html
- layouts/posts/single.fr.amp.html
- layouts/posts/single.amp.html
- layouts/posts/single.fr.html
- layouts/posts/single.html
- layouts/_default/single.fr.html.html
- layouts/_default/single.html.html
- layouts/_default/single.fr.amp.html
- layouts/_default/single.amp.html
- layouts/_default/single.fr.html
- layouts/_default/single.html
- Example: Home page
Expand Down

0 comments on commit 45b732e

Please sign in to comment.