Fix note for reserved partial name(starting with -> including).

See. https://github.com/gohugoio/hugo/issues/5373
This commit is contained in:
Hideki Ikemoto 2018-11-02 15:48:55 +09:00 committed by Bjørn Erik Pedersen
parent eba3cbc42a
commit 99a1f4a947

View File

@ -61,7 +61,7 @@ One of the most common mistakes with new Hugo users is failing to pass a context
{{% /note %}}
{{% note %}}
`<PARTIAL>` starting with `baseof` is reserved. ([#5373](https://github.com/gohugoio/hugo/issues/5373))
`<PARTIAL>` including `baseof` is reserved. ([#5373](https://github.com/gohugoio/hugo/issues/5373))
{{% /note %}}
As shown in the above example directory structure, you can nest your directories within `partials` for better source organization. You only need to call the nested partial's path relative to the `partials` directory: