mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
Don't inject ;meta(urb_front) if frontmatter is empty/nonexistent
This commit is contained in:
parent
8f714ad02d
commit
53006273ee
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user