Update theme

This commit is contained in:
Bjørn Erik Pedersen 2017-07-15 22:47:46 +02:00
parent 6994ef2c68
commit ef0564e281
2 changed files with 2 additions and 6 deletions

View File

@ -57,7 +57,7 @@ Here is the lookup order for the `post` base template:
## Defining the Base Template ## Defining the Base Template
The following defines a simple base template at `_default/baseof.html`. As a default template, it is the shell from which all your pages will be rendered unless you specify another `*baseof.html` closer to the beginning of the lookup order.. The following defines a simple base template at `_default/baseof.html`. As a default template, it is the shell from which all your pages will be rendered unless you specify another `*baseof.html` closer to the beginning of the lookup order.
{{% code file="layouts/_default/baseof.html" download="baseof.html" %}} {{% code file="layouts/_default/baseof.html" download="baseof.html" %}}
```html ```html
@ -101,10 +101,6 @@ From the above base template, you can define a [default list template][hugolists
``` ```
{{% /code %}} {{% /code %}}
{{% note "No Go Context \"the dot\" in Block Definitions" %}}
When using the `define` keyword, you do *not* need to use Go templates context reference (i.e., "the dot"). (Read more on "the dot" in [Templates Introduction](/templates/introduction/).)
{{% /note %}}
This replaces the contents of our (basically empty) "main" block with something useful for the list template. In this case, we didn't define a `"title"` block, so the contents from our base template remain unchanged in lists. This replaces the contents of our (basically empty) "main" block with something useful for the list template. In this case, we didn't define a `"title"` block, so the contents from our base template remain unchanged in lists.
{{% warning %}} {{% warning %}}

@ -1 +1 @@
Subproject commit bd9619584e1f881226a87e2b86b23b98046c3350 Subproject commit 8b6b085b4fb130fceacd392c006f235fa4839b5e