From 47e65c4acd561fe67fb7d5a6897d2e53dff484c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 23 Jul 2015 12:54:58 +0200 Subject: [PATCH] docs: Rename dynamic content to data-driven content Fixes #925 --- .../extras/{dynamiccontent.md => datadrivencontent.md} | 10 +++++----- docs/content/extras/datafiles.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename docs/content/extras/{dynamiccontent.md => datadrivencontent.md} (94%) diff --git a/docs/content/extras/dynamiccontent.md b/docs/content/extras/datadrivencontent.md similarity index 94% rename from docs/content/extras/dynamiccontent.md rename to docs/content/extras/datadrivencontent.md index 2874f3b65..44970ebf2 100644 --- a/docs/content/extras/dynamiccontent.md +++ b/docs/content/extras/datadrivencontent.md @@ -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 diff --git a/docs/content/extras/datafiles.md b/docs/content/extras/datafiles.md index 65a081521..983b7bbb1 100644 --- a/docs/content/extras/datafiles.md +++ b/docs/content/extras/datafiles.md @@ -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