mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-28 06:15:48 -04:00
strip any markdown in page titles from meta/social tags in head
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
{{/* Strip any markdown styling from page title for use in meta tags */}}
|
||||
|
||||
{{- with .Title -}}
|
||||
{{- $.Scratch.Set "plainTitle" (. | markdownify | htmlUnescape | plainify) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Chooses and initializes various images for use by JSON schema & open graph tags */}}
|
||||
|
||||
{{/* Author image (default) */}}
|
||||
Reference in New Issue
Block a user