Skip to content

Commit f281e04

Browse files
committed
feature. Added meta tag for description in base template.
1 parent 8db2bc3 commit f281e04

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

data/metadata.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function GetVersion() {
2323

2424
export default {
2525
title: "David Wesst",
26-
description: "My website",
26+
description: "Tech, games, and creative experiments from the mind of David Wesst. Come for the code, stay for the side quests.",
2727
version: GetVersion(),
2828
language: "en"
2929
}

layouts/base.webc

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta name="description" :content="description || metadata.description">
67
<title @text="`${metadata.title} | ${title}`"></title>
78

89
<link rel="stylesheet" href="style/base.css" >

0 commit comments

Comments
 (0)