Escape og:title tag
This commit is contained in:
parent
8e4adf7f3b
commit
5209551bb0
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ initComments(\{
|
||||||
# Generate the universal header components
|
# Generate the universal header components
|
||||||
generate-head($meta, $post.title, $post.description);
|
generate-head($meta, $post.title, $post.description);
|
||||||
# Open graph tags for embedding
|
# Open graph tags for embedding
|
||||||
meta :property<og:title>, :content($post.title);
|
meta :property<og:title>, :content(^$post.title);
|
||||||
meta :property<og:url>, :content(post-link-abs $db.meta, $id, $post);
|
meta :property<og:url>, :content(post-link-abs $db.meta, $id, $post);
|
||||||
meta :property<og:site_name>, :content($db.meta.title);
|
meta :property<og:site_name>, :content($db.meta.title);
|
||||||
optl $post.description ~~ Str:D,
|
optl $post.description ~~ Str:D,
|
||||||
|
|
Loading…
Add table
Reference in a new issue