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 d282247 commit 2d25ac7de933000fd44167743ca8293709debb24
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/manual.txt
@@ -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 2d25ac7

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