Skip to content
Permalink
Browse files

Fix post data example in docs

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed May 28, 2017
1 parent 0d360a0 commit d7386e35c1e1c1be925f74c51a90e65c5b8bd869
Showing with 3 additions and 3 deletions.
  1. +1 −1 state_data.json
  2. +2 −2 stories/manual.txt
@@ -1,3 +1,3 @@
{
"last_deploy": "2017-05-26T13:57:34.392951"
"last_deploy": "2017-05-28T08:36:52.035700"
}
@@ -1172,8 +1172,8 @@ it will be replaced by "baz".

Individual posts can also have a data file. Those are specified using the
``data`` meta field (path relative to ``conf.py``, can be different in
different languages). Those are accessible as eg.
``${post.meta('data')['bar']`` in templates. `Template-based shortcodes`_ are a
different post languages). Those are accessible as eg.
``${post.data['bar']}`` in templates. `Template-based shortcodes`_ are a
good idea in this case.

Data files can be useful for eg. auto-generated sites, where users provide

0 comments on commit d7386e3

Please sign in to comment.
You can’t perform that action at this time.