Mercurial > piecrust2
view tests/bakes/test_theme.yaml @ 750:377f4b626e74 2.0.0rc1
cm: Regenerate the CHANGELOG.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 09 Jun 2016 22:35:18 -0700 |
parents | 3df808b133f8 |
children | 45ad976712ec |
line wrap: on
line source
--- config: site: title: "Some Test" default_page_layout: 'none' foo: bar in: pages/foo.md: "This is: {{foo}}, with no template" theme/theme_config.yml: "name: testtheme" theme/pages/_index.md: "This is {{site.title}} by {{name}}, with theme template" theme/templates/default.html: "THEME: {{content}}" out: index.html: "THEME: This is Some Test by testtheme, with theme template" foo.html: "This is: bar, with no template" --- config: site: default_page_layout: 'custom' in: pages/foo.md: "FOO" pages/bar.md: "---\nlayout: blah\n---\nBAR" templates/custom.html: "CUSTOM: {{content}}" theme/theme_config.yml: "site: {sources: {theme_pages: {default_layout: blah}}}" theme/pages/_index.md: "theme index" theme/pages/about.md: "about" theme/templates/blah.html: "THEME: {{content}}" out: index.html: "THEME: theme index" about.html: "THEME: about" foo.html: "CUSTOM: FOO" bar.html: "THEME: BAR"