aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-21 09:03:49 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-21 09:03:49 -0500
commitb7b4478e774af2a2e7d74f545b44792f540761bc (patch)
treec1e3cb85b00262ece56bd3ca3e7137002c1f7be2
parentafccb53a7c7855ec920e68286f9e866095d12faf (diff)
downloadwebsite-b7b4478e774af2a2e7d74f545b44792f540761bc.tar.gz
add structured data to template
-rw-r--r--templates/cv.html9
-rw-r--r--templates/default.html9
2 files changed, 18 insertions, 0 deletions
diff --git a/templates/cv.html b/templates/cv.html
index 71ed4c7..2ce2f56 100644
--- a/templates/cv.html
+++ b/templates/cv.html
@@ -16,6 +16,15 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$title$</title>
+ <script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "WebSite",
+ "name": "Cullum Smith's Blog",
+ "alternateName": "SacredHeartSC",
+ "url": "https://www.sacredheartsc.com/"
+ }
+ </script>
<link rel="alternate" type="application/rss+xml" href="$feed$">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
diff --git a/templates/default.html b/templates/default.html
index db11d67..b1008e5 100644
--- a/templates/default.html
+++ b/templates/default.html
@@ -16,6 +16,15 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$title$</title>
+ <script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "WebSite",
+ "name": "Cullum Smith's Blog",
+ "alternateName": "SacredHeartSC",
+ "url": "https://www.sacredheartsc.com/"
+ }
+ </script>
<link rel="alternate" type="application/rss+xml" href="$feed$">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">