From 1bf6027bb999d019755f830fec9e8a46886146f9 Mon Sep 17 00:00:00 2001 From: Michal Jirku Date: Wed, 25 Nov 2020 21:22:54 +0100 Subject: [PATCH] Autogen icon links --- _includes/head.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 6d075f2..bb9ac82 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -12,10 +12,11 @@ - - - - +{% for file in site.static_files -%} +{% if file.path contains '/assets/favicon-' -%} +{% assign parts = file.basename | split: '-' %} +{% endif -%} +{% endfor %}