diff --git a/lib/ex_doc/formatter/html/templates/head_template.eex b/lib/ex_doc/formatter/html/templates/head_template.eex index 4b27f5d6d..e526d64a2 100644 --- a/lib/ex_doc/formatter/html/templates/head_template.eex +++ b/lib/ex_doc/formatter/html/templates/head_template.eex @@ -10,6 +10,14 @@ <%= if config.canonical do %> <% end %> + <%= if config.logo do %> + <%= if Path.extname(config.logo) == ".png" do %> + + <% end %> + <%= if Path.extname(config.logo) == ".jpg" do %> + + <% end %> + <% end %> <%= config.before_closing_head_tag.(:html) %>