mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 20:04:09 +03:00
Don't inject ;meta(urb_front) if frontmatter is empty/nonexistent
This commit is contained in:
parent
5eee114a3e
commit
8fedb7d119
@ -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