From f99b5b1345968a5c160e8432f364f8dc36b78c80 Mon Sep 17 00:00:00 2001
From: techxplorer <corey@techxplorer.com>
Date: Sat, 19 Apr 2025 09:40:09 +0000
Subject: [PATCH] feat: add license metadata (#518)

---
 layouts/partials/head.html |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a953a7d..50ca7f8 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -137,6 +137,10 @@
   <link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.Params.favicon | relURL }}favicon-16x16.png" />
 
   <link rel="canonical" href="{{ .Permalink }}" />
+  <!-- License -->
+  {{- with .Site.Params.license -}}
+    <link rel="license" href="{{ . }}"/>
+  {{- end -}}
 
   <!-- RSS -->
   {{ with .OutputFormats.Get "rss" -}}

--
Gitblit v1.10.0