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

This commit is contained in:
Ryan Watters committed 2017-02-19 01:26:47 -06:00
1 parent 2cb5ad8edd
commit 55aae645d6
2 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -111,11 +111,11 @@ See [site configuration][] for more information.
## Parameters ## 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 ## 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`: So, let's create a new shortcode using `readDir`:
**layouts/shortcodes/directoryindex.html** **layouts/shortcodes/directoryindex.html**
```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, For the files in any given directory, this shortcode usefully lists their basenames and sizes, while providing links to them.
while providing links to them.
Already&mdash;actually&mdash;this shortcode Already&mdash;actually&mdash;this shortcode
has been included in this very web site. has been included in this very web site.
So, let's list some of its CSS files. So, let's list some of its CSS files.
(If you click on their names, you can reveal the contents.) (If you click on their names, you can reveal the contents.)
{{< directoryindex path="/static/css" pathURL="/css" >}} {{</* directoryindex path="/static/css" pathURL="/css" */>}}
<br /> <br />
This is the call that rendered the above output: This is the call that rendered the above output:
```html ```html