From 7a4e70f5e82f8ccc7c5a5122b65a7854ae5973bc Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 31 Aug 2020 11:55:24 +0200 Subject: Add favicon in the HTML format --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/base/src/main/kotlin/renderers/html') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index ddcbc7e9..48aa56fb 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -665,6 +665,7 @@ open class HtmlRenderer( head { meta(name = "viewport", content = "width=device-width, initial-scale=1", charset = "UTF-8") title(page.name) + link(href = page.root("images/logo-icon.svg"), rel = "icon", type = "image/svg") resources.forEach { when { it.substringBefore('?').substringAfterLast('.') == "css" -> link( -- cgit