mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
a9c5133a77
commit
47e65c4acd
2 changed files with 6 additions and 6 deletions
|
@ -1,26 +1,26 @@
|
|||
---
|
||||
aliases:
|
||||
- /doc/dynamiccontent/
|
||||
- /doc/datadrivencontent/
|
||||
date: 2015-02-14
|
||||
menu:
|
||||
main:
|
||||
parent: extras
|
||||
next: /extras/highlighting
|
||||
prev: /extras/datafiles
|
||||
title: Dynamic Content
|
||||
title: Data-driven Content
|
||||
weight: 91
|
||||
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
|
||||
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
|
||||
[CSV](http://en.wikipedia.org/wiki/Comma-separated_values) file
|
||||
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**.
|
||||
|
||||
## Implementation details
|
|
@ -5,7 +5,7 @@ date: 2015-01-22
|
|||
menu:
|
||||
main:
|
||||
parent: extras
|
||||
next: /extras/dynamiccontent
|
||||
next: /extras/datadrivencontent
|
||||
prev: /extras/scratch
|
||||
title: Data Files
|
||||
weight: 90
|
||||
|
|
Loading…
Reference in a new issue