about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index c97634a..346dd02 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -183,6 +183,7 @@ fn build(allocator: std.mem.Allocator, f: std.fs.File, page_name: []const u8, sr
         \\<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/links/rss.xml">
         \\<link rel="stylesheet" type="text/css" href="/links/main.css">
         \\<link rel="shortcut icon" type="image/png" href="/media/services/icon.png">
+        \\<link rel="license" href="{[LICENSE_URL]s}">
         \\<title>{[SITE_NAME]s} &mdash; {[PAGE_NAME]s}</title>
         \\</head>
         \\<body>
@@ -191,8 +192,9 @@ fn build(allocator: std.mem.Allocator, f: std.fs.File, page_name: []const u8, sr
         \\</header>
         \\
     , .{
-        .SITE_NAME = SITE_NAME,
+        .LICENSE_URL = LICENSE_URL,
         .PAGE_NAME = page_name,
+        .SITE_NAME = SITE_NAME,
     });
 
     // NAV