Update theme

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

No files matched your search

+1 -5
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 %}}