diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-14 23:51:36 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-14 23:51:36 +0100 |
commit | 80017f034146b50fdc441c96636f1098adf7037e (patch) | |
tree | cbac45bca69cf635c2ad633ea1bcd6f40ba97a9f /src/blogc-make | |
parent | 99ef1c93f0359741fd18217cd81cf2c3e0beaf7b (diff) | |
download | blogc-80017f034146b50fdc441c96636f1098adf7037e.tar.gz blogc-80017f034146b50fdc441c96636f1098adf7037e.tar.bz2 blogc-80017f034146b50fdc441c96636f1098adf7037e.zip |
content-parser: source-parser: extract TITLE from content header
this patch implements support to using the first header found in source
file as the TITLE variable. please note that if the TITLE variable is
defined on the source file's variable section it takes precedence.
this patch changes the old behaviour and can break some users' websites.
if you have some '{% ifdef TITLE %}' blocks in your template, they will
evaluate to true if you don't defined TITLE manually, but have a header
in your content.
Diffstat (limited to 'src/blogc-make')
0 files changed, 0 insertions, 0 deletions