Don't inject ;meta(urb_front) if frontmatter is empty/nonexistent

This commit is contained in:
Anton Dyudin 2016-01-25 13:53:12 -08:00
parent 5eee114a3e
commit 8fedb7d119

View File

@ -128,7 +128,8 @@
[[hed id/(sanitize kid) ~] kid]
::
%hrul ;hr;
%meta =+ jon=`json`o/(~(run by p.a) |=(cord s/+<))
%meta ?: =(~ p.a) :/(~)
=+ jon=`json`o/(~(run by p.a) |=(cord s/+<))
;meta(value "{(pojo jon)}", name "frontmatter", urb_front "");
:: %html
::=+ tex=(role (turn p.a crip))