mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-20 13:23:05 +00:00
parent
a9c5133a77
commit
47e65c4acd
2 changed files with 6 additions and 6 deletions
|
@ -1,26 +1,26 @@
|
||||||
---
|
---
|
||||||
aliases:
|
aliases:
|
||||||
- /doc/dynamiccontent/
|
- /doc/datadrivencontent/
|
||||||
date: 2015-02-14
|
date: 2015-02-14
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
parent: extras
|
parent: extras
|
||||||
next: /extras/highlighting
|
next: /extras/highlighting
|
||||||
prev: /extras/datafiles
|
prev: /extras/datafiles
|
||||||
title: Dynamic Content
|
title: Data-driven Content
|
||||||
weight: 91
|
weight: 91
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
Dynamic content with a static site generator? Yes, it is possible!
|
Data-driven content with a static site generator? Yes, it is possible!
|
||||||
|
|
||||||
In addition to the [data files](/extras/datafiles/) feature, we have also
|
In addition to the [data files](/extras/datafiles/) feature, we have also
|
||||||
implemented the feature "Dynamic Content", which lets you load
|
implemented the feature "Data-driven Content", which lets you load
|
||||||
any [JSON](http://www.json.org/) or
|
any [JSON](http://www.json.org/) or
|
||||||
[CSV](http://en.wikipedia.org/wiki/Comma-separated_values) file
|
[CSV](http://en.wikipedia.org/wiki/Comma-separated_values) file
|
||||||
from nearly any resource.
|
from nearly any resource.
|
||||||
|
|
||||||
"Dynamic Content" currently consists of two functions, `getJSON`
|
"Data-driven Content" currently consists of two functions, `getJSON`
|
||||||
and `getCSV`, which are available in **all template files**.
|
and `getCSV`, which are available in **all template files**.
|
||||||
|
|
||||||
## Implementation details
|
## Implementation details
|
|
@ -5,7 +5,7 @@ date: 2015-01-22
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
parent: extras
|
parent: extras
|
||||||
next: /extras/dynamiccontent
|
next: /extras/datadrivencontent
|
||||||
prev: /extras/scratch
|
prev: /extras/scratch
|
||||||
title: Data Files
|
title: Data Files
|
||||||
weight: 90
|
weight: 90
|
||||||
|
|
Loading…
Add table
Reference in a new issue