Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Display domain's favicon on the home page (#407)
Gustavo Maronato568f8fa8ab07
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e5214790ac..f257f22df5 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#370diff --git a/lib/plausible_web/templates/site/index.html.eex b/lib/plausible_web/templates/site/index.html.eexindex b4ec44af68..0c307a556a 100644--- a/lib/plausible_web/templates/site/index.html.eex+++ b/lib/plausible_web/templates/site/index.html.eex@@ -8,7 +8,8 @@<div class="overflow-hidden bg-white rounded max-w-xl w-full shadow-md leading-normal"><%= for site <- @sites do %><div class="w-full relative">- <a href="/<%= URI.encode_www_form(site.domain) %>" class="block hover:bg-gray-100 group p-4 border-b no-underline flex justify-between transition">+ <a href="/<%= URI.encode_www_form(site.domain) %>" class="block hover:bg-gray-100 group p-4 border-b no-underline flex justify-between transition items-center">+ <img src="https://icons.duckduckgo.com/ip3/<%= site.domain %>.ico" referrerpolicy="no-referrer" class="inline mb-1 mr-2 w-4"><p class="w-full font-bold text-lg mb-1 text-gray-800"><%= site.domain %></p></a><%= 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 %>