Fix shortcode language in local file templates that was breaking Netlify build

This commit is contained in:
Ryan Watters
2017-02-19 01:26:47 -06:00
parent 2cb5ad8edd
commit 55aae645d6
2 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -111,11 +111,11 @@ See [site configuration][] for more information.
## Parameters
## Ordering Content
## Assigning `weight` for Ordering
### Assigning `weight` to Content
### Assigning `weight` for Ordering Content
### Assigning `weight` to Taxonomies
### Assigning `weight` for Ordering Taxonomies
## Front Matter Format Specs
+5 -5
View File
@@ -38,18 +38,18 @@ in effect becomes both:
So, let's create a new shortcode using `readDir`:
**layouts/shortcodes/directoryindex.html**
```html
{{< readfile "layouts/shortcodes/directoryindex.html" >}}
{{</* readfile "layouts/shortcodes/directoryindex.html" */>}}
```
For the files in any given directory,
this shortcode usefully lists their basenames and sizes,
while providing links to them.
For the files in any given directory, this shortcode usefully lists their basenames and sizes, while providing links to them.
Already&mdash;actually&mdash;this shortcode
has been included in this very web site.
So, let's list some of its CSS files.
(If you click on their names, you can reveal the contents.)
{{< directoryindex path="/static/css" pathURL="/css" >}}
{{</* directoryindex path="/static/css" pathURL="/css" */>}}
<br />
This is the call that rendered the above output:
```html