commit 2078a00f603c61d88e47b37dbc5d0ca8dd5c4312
parent ba2c493f296babe7c0b91865ce1a0268ad82d608
Author: phoebos <ben@bvnf.space>
Date: Fri, 30 Jun 2023 13:41:11 +0100
blog: link to feed, CC0 -> CC-BY
Diffstat:
4 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/blog/gen-feed.sh b/blog/gen-feed.sh
@@ -11,7 +11,7 @@ cat << EOF
<channel>
<title>$blogtitle</title>
<link>$urlblog</link>
-<copyright>CC0</copyright>
+<copyright>CC-BY 4.0</copyright>
<language>en</language>
<lastBuildDate>$(date "+%a, %e %b %Y %H:%M:%S %z")</lastBuildDate>
diff --git a/blog/gen-index.sh b/blog/gen-index.sh
@@ -15,6 +15,10 @@ cat << EOF
<link rel="stylesheet" href="../style.css" type="text/css" />
<link rel="icon" href="data:image/gif;base64,R0lGODlhEAAQAPH/AAAAAP//AAD/AP8AACH/C0NSTkcAAAAAMS4wSAAAAAIwPwAAAAJATwAAAAJQXwAAAAJgbwAAAAJwfwAAAAKAjwAAAAKQnwAAAAKgrwAAAAKwvwAAAALAzwAAAALQ3wAAAALg7wAh+QQF//8EACwAAAAAEAAQAAACOJQFqTp9j5p00IApq8X0rTtBSQCQYIeUZGBmh7qyp8fGpGvV8PyqPt9bJUKiBUYT4SBPRMuH0SgAADs="/>
<link rel="alternate" type="application/rss+xml" href="/blog/rss.xml"/>
+ <style type="text/css">
+ .left { float: left;}
+ .right { float: right;}
+ </style>
</head>
<body>
<header><nav>
@@ -69,7 +73,13 @@ cat << EOF
<br />
<hr />
<footer>
-The script which generates this index page can be viewed <a href="gen-index.sh">here</a>.
+<div class="left">
+<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="CC-BY 4.0" src="/media/cc-by.png" /></a>
+</div>
+<div class="right">
+<img alt="Feed icon" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/16px-Feed-icon.svg.png" width="16" height="16"/>
+<a href="/blog/rss.xml">RSS feed</a>
+</div>
</footer>
</body>
</html>
diff --git a/media/cc-by.png b/media/cc-by.png
Binary files differ.
diff --git a/style.css b/style.css
@@ -17,7 +17,6 @@ table {
width: 100%;
}
footer {
- font-size: 12px;
padding: 5px;
}