aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-05-23 02:38:22 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-05-23 02:41:11 +0200
commit1605bf39ab342ea5d904fe96df81dd0f55bd3bcf (patch)
tree04a8edf1609888cedeb284efa2bc041fd2d40b60 /man
parentcc0c4d6866bb876e1ba098bc7f70fb8f312e9fc2 (diff)
downloadblogc-1605bf39ab342ea5d904fe96df81dd0f55bd3bcf.tar.gz
blogc-1605bf39ab342ea5d904fe96df81dd0f55bd3bcf.tar.bz2
blogc-1605bf39ab342ea5d904fe96df81dd0f55bd3bcf.zip
content-parser: fixed DESCRIPTION variable.
it is now built as a single line variable, that contains the full unparsed content of the first paragraph found in the source file, instead of just the first line of it. this also fixes a bug that prevented creating of DESCRIPTION variable, if the source file contained only a single line paragraph.
Diffstat (limited to 'man')
-rw-r--r--man/blogc-source.7.ronn7
1 files changed, 4 insertions, 3 deletions
diff --git a/man/blogc-source.7.ronn b/man/blogc-source.7.ronn
index 1945329..9b80eb2 100644
--- a/man/blogc-source.7.ronn
+++ b/man/blogc-source.7.ronn
@@ -51,9 +51,10 @@ for building permalinks in templates. This variable can't be overriden by an
explicit definition in source file.
Another variable, `DESCRIPTION`, will be automatically created by the source
-parser. Its content is the first line of the first paragraph of the content.
-Paragraphs inside blockquotes are ignored. This variable can be overriden by
-an explicit definition in source file.
+parser. It contains the unparsed content of the first paragraph found in the
+source file. Paragraphs inside blockquotes are ignored. This variable can be
+overriden by an explicit definition in source file. This is useful to add
+"description" meta-tags to HTML templates.
## SOURCE CONTENT - BLOCK ELEMENTS