Skip to content

Commit 9a7811f

Browse files
Move favicon link inside head element
The favicon link tags were incorrectly placed outside the <head> element in both layout files. Moved the reference into _includes/head.html for valid HTML structure. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b8750cc commit 9a7811f

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<meta charset="utf-8">
33
<meta name="viewport" content="width=device-width initial-scale=1" />
44
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<link rel="shortcut icon" type="image/png" href="{{ "/favicon.png" | prepend: site.baseurl }}" />
56

67
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
78
<meta name="description" content="{{ site.description }}">

_layouts/default.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<!DOCTYPE html>
22
<html>
33

4-
<link rel="shortcut icon" type="image/png" href="{{ "/favicon.png" | prepend: site.baseurl }}" />
54
{% include head.html %}
65

76
<body>

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
{% include head.html %}
5-
<link rel="shortcut icon" type="image/png" href="{{ "/favicon.png" | prepend: site.baseurl }}" />
5+
66
<body>
77

88
{% include header.html %}

0 commit comments

Comments
 (0)