commit 4fdd90df3d434834d15180bb4c24a600a4965c3d
parent 5d4592862978532a215725210ec1ac4c9a3f634d
Author: Ellenor Bjornsdottir <ellenor@umbrellix.net>
Date: Mon, 12 Sep 2022 14:11:20 +0000
add another x-synoptic type, not yet documented
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/ussg-page b/ussg-page
@@ -446,6 +446,9 @@ namespace eval ::templcmds {
if {![catch {dict get $::headers x-synoptic-text} title]} {
puts $::outputfd [format "<meta property=\"og:description\" content=\"%s\"></meta>" $title]
}
+ if {![catch {dict get $::headers x-synoptic-sitename} title]} {
+ puts $::outputfd [format "<meta property=\"og:site_name\" content=\"%s\"></meta>" $title]
+ }
if {![catch {dict get $::headers x-synoptic-image} title]} {
puts $::outputfd [format "<meta property=\"og:image\" content=\"%s\"></meta>" $title]
}