Skip to content

Commit 1998595

Browse files
author
José Valim
committed
Revert "Add favicon when logo option is present (#774)"
This reverts commit cb94dee.
1 parent 8819300 commit 1998595

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/ex_doc/formatter/html/templates/head_template.eex

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@
1010
<%= if config.canonical do %>
1111
<link rel="canonical" href="<%= config.canonical %>" />
1212
<% end %>
13-
<%= if config.logo do %>
14-
<%= if Path.extname(config.logo) == ".png" do %>
15-
<link rel="icon" type="image/png" href="assets/logo.png" />
16-
<% end %>
17-
<%= if Path.extname(config.logo) == ".jpg" do %>
18-
<link rel="icon" type="image/jpeg" href="assets/logo.jpg" />
19-
<% end %>
20-
<% end %>
2113
<script src="<%= asset_rev config.output, "dist/sidebar_items*.js" %>"></script>
2214
<%= config.before_closing_head_tag.(:html) %>
2315
</head>

0 commit comments

Comments
 (0)