Mercurial > piecrust2
view tests/servings/test_theme.yaml @ 977:84fc72a17f7a
sources: Changes in related contents management.
- Remove `getParentGroup` method, use related contents instead.
- Return only a single group when asked for the parent.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 17 Oct 2017 01:11:54 -0700 |
parents | 3df808b133f8 |
children | 45ad976712ec |
line wrap: on
line source
--- url: / config: site: title: "Some Test" in: theme/theme_config.yml: "name: testtheme" theme/pages/_index.md: "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.md: "This is: {{foo}} by {{name}}" theme/theme_config.yml: "name: testtheme" out: "This is: bar by testtheme"