Skip to content

Commit f14847a

Browse files
committed
fix: update profile wording
1 parent 5db1470 commit f14847a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pages/profile.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<section class="area">
1313
<h3>So who am I?</h3>
1414
<p>
15-
I&apos;m <span class="em">James King</span>, a {age} year old Software
16-
Engineer from Lincolnshire, who has an affinity for Coca-Cola, bacon,
15+
I&apos;m <span class="em">James King</span>, a Software
16+
Engineer from Nottinghamshire, who has an affinity for Coca-Cola, bacon,
1717
and being pretty bad at boardgames despite my intense love of them.
1818
You want some more info?
1919
<span class="em2">Fine...</span>

scripts/generatePages.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const generatePages = (): void => {
2727
description = 'A peak inside my brain you ask? Reader, beware...';
2828
break;
2929
case 'profile':
30-
description = `So who am I? I'm James King, a ${age} year old Software Engineer from Lincolnshire. You want some more info?`;
30+
description = `So who am I? I'm James King, a Software Engineer from Nottinghamshire. You want some more info?`;
3131
break;
3232
case 'coding':
3333
description = "Shall we take a look at some projects I've done?";
@@ -51,7 +51,6 @@ const generatePages = (): void => {
5151
)
5252
.replace(/{subpage}/g, '')
5353
.replace(/{description}/g, description)
54-
.replace(/{age}/g, age)
5554
.replace(/{year}/g, new Date().getFullYear().toString())
5655
.replace(
5756
/{noindex}/g,

0 commit comments

Comments
 (0)