Mercurial > piecrust2
view tests/servings/test_theme.yaml @ 1149:be74ba54a06f
admin: Improvements to micropub endpoint's photo handling.
- Add `.jpg` extension to photos that don't have any extension.
- Add photos in the config section instead of the body, so that the layout
can put them in separate `u-photo` tags.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 10 Jul 2018 21:03:58 -0700 |
parents | 45ad976712ec |
children |
line wrap: on
line source
--- url: / config: site: title: "Some Test" in: theme/theme_config.yml: "name: testtheme" theme/pages/_index.html: "This is {{site.title}} by {{name}}" theme/templates/default.html: "THEME: {{content}}" out: "THEME: This is Some Test by testtheme" --- url: /foo.html config: site: title: "Some Test" foo: bar in: pages/foo.html: "This is: {{foo}} by {{name}}" theme/theme_config.yml: "name: testtheme" out: "This is: bar by testtheme"