diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-08-31 11:55:24 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-09-07 08:16:17 +0200 |
commit | 7a4e70f5e82f8ccc7c5a5122b65a7854ae5973bc (patch) | |
tree | 400729087ba3de5ad78ccd4fa897828c5a6884bf /plugins/base/src/main | |
parent | 495c64c64db5d7ebc44a7262e5bdeb7cc3a54f9c (diff) | |
download | dokka-7a4e70f5e82f8ccc7c5a5122b65a7854ae5973bc.tar.gz dokka-7a4e70f5e82f8ccc7c5a5122b65a7854ae5973bc.tar.bz2 dokka-7a4e70f5e82f8ccc7c5a5122b65a7854ae5973bc.zip |
Add favicon in the HTML format
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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( |