Skip to content

Commit 37acc5e

Browse files
committed
fixed path errors in custom.html, apple 2 blog header
removed reference to \favicon.io folder and added relative_url. changed blogs.yml to use "apple2header" for the background and update main.scss to use "style*="apple2header""
1 parent 917e0d9 commit 37acc5e

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

_data/blogs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
internal_blogs:
44
- name: apple 2 blog
55
description: Machine learning on an Apple ][+.
6-
background: darkred
6+
background: apple2header
77

88
- name: deep speeling blog
99
description: A recurrent neural network (RNN) using Tensorflow designed to correct spelling mistakes.

_includes/head/custom.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,16 @@
1818
<meta property="twitter:image" content="{{ page.image | default: site.og_image | absolute_url }}">
1919

2020
<!-- Favicon -->
21+
<!-- original code from RealFaviconGenerator.net
2122
<link rel="icon" type="image/png" href="/assets/images/favicon.ico/favicon-96x96.png" sizes="96x96" />
2223
<link rel="icon" type="image/svg+xml" href="/assets/images/favicon.ico/favicon.svg" />
2324
<link rel="shortcut icon" href="/assets/images/favicon.ico/favicon.ico" />
2425
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon.ico/apple-touch-icon.png" />
2526
<meta name="apple-mobile-web-app-title" content="Hackin’ and Tinkerin’" />
26-
<link rel="manifest" href="/assets/images/favicon.ico/site.webmanifest" />
27+
<link rel="manifest" href="/assets/images/favicon.ico/site.webmanifest" /> -->
28+
<link rel="icon" type="image/png" href="{{ '/assets/images/favicon-96x96.png' | relative_url }}" sizes="96x96" />
29+
<link rel="icon" type="image/svg+xml" href="{{ '/assets/images/favicon.svg' | relative_url }}" />
30+
<link rel="shortcut icon" href="{{ '/assets/images/favicon.ico' | relative_url }}" />
31+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/images/apple-touch-icon.png' | relative_url }}" />
32+
<meta name="apple-mobile-web-app-title" content="Hackin’ and Tinkerin’" />
33+
<link rel="manifest" href="{{ '/assets/images/site.webmanifest' | relative_url }}" />

assets/css/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
/* Apple 2 blog specific header */
4646
/* https://claude.ai/share/ea376385-c62a-4607-93a6-51cc03e81b1d */
47-
body.apple-2-blog .page__hero--overlay {
47+
.page__hero--overlay[style*="apple2header"] {
4848
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
4949
url('/assets/images/apple2-header.jpg') center top/cover no-repeat !important;
5050
}

0 commit comments

Comments
 (0)