From 6792655c2cf3d2545b507bc3e573b82e2e4716f2 Mon Sep 17 00:00:00 2001 From: Jonathan Anderson Date: Thu, 18 Jun 2015 22:59:08 -0230 Subject: [PATCH] Add support for baseof.ace templates in themes. When we find a template that requires a base template, we should also look for that base template in the current theme. Fixes #1215. --- content/templates/ace.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/templates/ace.md b/content/templates/ace.md index bd13f592e..397def3e1 100644 --- a/content/templates/ace.md +++ b/content/templates/ace.md @@ -35,6 +35,8 @@ In Hugo the base template will be chosen in the following order: 2. /baseof.ace 3. _default/-baseof.ace, e.g. list-baseof.ace. 4. _default/baseof.ace +5. /layouts/_default/-baseof.ace +6. /layouts/_default/baseof.ace ``` In the above, `current-path` is where the corresponding inner template lives, `list.ace`, `single.ace`, `index.ace` ...