diff --git a/README.md b/README.md
@@ -193,9 +193,9 @@ use a pre-sanitization binary as a byte-equivalence baseline.
## Attribution and licenses
-Project code is licensed under MIT; see `LICENSE`. Notices for upstream stagit,
-the functional reference and source of the original default icons, are retained
-in `third-party/stagit-LICENSE`. MD4C's notice is retained in
+Project code is licensed under MIT; see `LICENSE`. Upstream stagit is a functional
+reference, and its notice is retained in `third-party/stagit-LICENSE`.
+MD4C's notice is retained in
`third-party/md4c-LICENSE`. License files are copied into the generated site;
no generator credit is displayed in the page footer.
Cargo dependency license texts are retained in `third-party/cargo-LICENSES.txt`;
diff --git a/generator/src/html.rs b/generator/src/html.rs
@@ -104,8 +104,7 @@ fn document(title: &str, prefix: &str, feed: bool) -> String {
<meta http-equiv=\"Content-Security-Policy\" content=\"{}\">\n\
<meta name=\"referrer\" content=\"no-referrer\">\n\
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\
- <title>{}</title>\n<link rel=\"stylesheet\" href=\"{prefix}style.css\">\n\
- <link rel=\"icon\" type=\"image/png\" href=\"{prefix}favicon.png\">\n",
+ <title>{}</title>\n<link rel=\"stylesheet\" href=\"{prefix}style.css\">\n",
escape(CSP.trim()),
escape(title)
);
diff --git a/scripts/build.py b/scripts/build.py
@@ -20,7 +20,7 @@ OWNER = "debuman"
VERSION = "sqzer-stagit 0.1.0"
SOURCE = ROOT / "generator"
BINARY = CACHE / "cargo" / "release" / "sqzer-stagit"
-ASSETS = ("style.css", "logo.png", "favicon.png")
+ASSETS = ("style.css",)
def run(*args, **kwargs):
diff --git a/scripts/test_generator.py b/scripts/test_generator.py
@@ -33,7 +33,7 @@ def assert_local_links(out):
url = urlsplit(href)
if url.scheme or url.netloc or not url.path:
continue
- if url.path.endswith(("style.css", "favicon.png", "archive.tar.gz")):
+ if url.path.endswith(("style.css", "archive.tar.gz")):
continue
assert (page.parent / unquote(url.path)).is_file(), (page, href)
diff --git a/theme/favicon.png b/theme/favicon.png
Binary files differ.
diff --git a/theme/logo.png b/theme/logo.png
Binary files differ.
|