From 568f8fa8ab076dd1f0f6d0da34d6bae32f8ecd9d Mon Sep 17 00:00:00 2001 From: Gustavo Maronato Date: Wed, 11 Nov 2020 06:35:42 -0300 Subject: [PATCH] Display domain's favicon on the home page (#407) * Add domain icons to domain list * update changelog --- CHANGELOG.md | 1 + lib/plausible_web/templates/site/index.html.eex | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5214790a..f257f22df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. ### Changed - Use alpine as base image to decrease Docker image size plausible/analytics#353 - Ignore automated browsers (Phantom, Selenium, Headless Chrome, etc) +- Display domain's favicon on the home page ### Fixed - Do not error when activating an already activated account plausible/analytics#370 diff --git a/lib/plausible_web/templates/site/index.html.eex b/lib/plausible_web/templates/site/index.html.eex index b4ec44af6..0c307a556 100644 --- a/lib/plausible_web/templates/site/index.html.eex +++ b/lib/plausible_web/templates/site/index.html.eex @@ -8,7 +8,8 @@
<%= for site <- @sites do %>
- + +

<%= site.domain %>

<%= link(to: "/#{URI.encode_www_form(site.domain)}/settings", class: "flex absolute hover:bg-gray-100 transition rounded py-2 px-5", style: "top: 12px; right: 6px;") do %>