From 1605bf39ab342ea5d904fe96df81dd0f55bd3bcf Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 23 May 2016 02:38:22 +0200 Subject: 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. --- man/blogc-source.7.ronn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'man/blogc-source.7.ronn') 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 -- cgit v1.2.3-18-g5258