Skip to content

Commit

Permalink
head data fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjones4 committed Nov 11, 2023
1 parent 96342e6 commit ebf831b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _data/metadata.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
title: "JohnJonesFour",
url: "https://johnjonesfour.com/",
url: "https://johnjonesfour.com",
language: "en",
description: "I'm a software engineer and innovator with a creative approach.",
author: {
Expand Down
8 changes: 5 additions & 3 deletions _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">

<link rel="apple-touch-icon" href="{{url}}logo192.png" />
<link rel="manifest" href="{{url}}manifest.json" />
<link rel="icon" href="{{url}}favicon.ico" />
<link rel="apple-touch-icon" href="{{metadata.url}}/logo192.png" />
<link rel="manifest" href="{{metadata.url}}/manifest.json" />
<link rel="icon" href="{{metadata.url}}/favicon.ico" />

<link rel="canonical" href="{{metadata.url}}{{page.url}}" >

<link rel="alternate" href="/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="alternate" href="/feed/feed.json" type="application/json" title="{{ metadata.title }}">
Expand Down

0 comments on commit ebf831b

Please sign in to comment.