From 3bd0dbabe99e13a6c4970bbbfea12b0f084a0d1a Mon Sep 17 00:00:00 2001 From: dzello Date: Mon, 23 Jul 2018 10:49:05 +0200 Subject: [PATCH] Make order of precedence clearer for slide templates --- exampleSite/content/home/shortcodes/slide.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/home/shortcodes/slide.md b/exampleSite/content/home/shortcodes/slide.md index 93c4215..473199e 100644 --- a/exampleSite/content/home/shortcodes/slide.md +++ b/exampleSite/content/home/shortcodes/slide.md @@ -120,7 +120,11 @@ Apply the template using the **template** attribute of the slide shortcode: --- -If a template exists in multiple configurations, it's properties will be merged. If a property is declared multiple times, the order of precedence is page, section (_index.md), site (config.toml). +If a template exists in multiple configurations, it's properties will be merged. If a property is declared multiple times, the order of precedence is: + +- page +- section (_index.md) +- site (config.toml) {{% /section %}}