diff options
| author | Robert Günzler <r@gnzler.io> | 2025-01-24 18:53:51 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-01-24 18:55:07 +0100 |
| commit | fc7bdd5408b0a42a22219ca040b99ef32d25b76a (patch) | |
| tree | 2678cdb73d19c7dc8a262980e866a428464a11b7 | |
| parent | 336c58505c111b998a93abb750a8098953990f34 (diff) | |
| download | site-fc7bdd5408b0a42a22219ca040b99ef32d25b76a.tar.gz | |
include rel=license
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rw-r--r-- | index.html | 1 | ||||
| -rw-r--r-- | src/main.zig | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/index.html b/index.html index 533fabd..ba1a3cf 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@ <link rel="stylesheet" type="text/css" href="links/hero.css"> <link rel="shortcut icon" type="image/png" href="media/services/icon.png"> <link rel="author" href="humans.txt"> + <link rel="license" href="https://git.sr.ht/~robertgzr/site/blob/master/LICENSE.content"> <title>gzr.im</title> </head> 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} — {[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 |