Skip to content

Commit 3263ac7

Browse files
ferbsxclaude
andcommitted
Wire favicon into <head> via head.html override
minima 2.5.1's head.html has no custom-head.html include, so the favicon links weren't rendered. Override head.html (based on minima 2.5.1) with the favicon <link> tags added; remove the now-unused custom-head.html. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e4c82ae commit 3263ac7

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

_includes/custom-head.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

_includes/head.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
{%- comment -%} Favicons — code curious squirrel mark. (minima 2.5.1's head.html
7+
has no custom-head.html hook, so this file overrides the theme's head.) {%- endcomment -%}
8+
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/images/favicon-32x32.png' | relative_url }}">
9+
<link rel="icon" type="image/png" sizes="192x192" href="{{ '/assets/images/favicon-192x192.png' | relative_url }}">
10+
<link rel="icon" type="image/png" href="{{ '/assets/images/favicon.png' | relative_url }}">
11+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/images/apple-touch-icon.png' | relative_url }}">
12+
13+
{%- seo -%}
14+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
15+
{%- feed_meta -%}
16+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
17+
{%- include google-analytics.html -%}
18+
{%- endif -%}
19+
</head>

0 commit comments

Comments
 (0)