Skip to content

Commit

Permalink
fix: update profile wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ripixel committed Dec 28, 2022
1 parent 5db1470 commit f14847a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pages/profile.html
Expand Up @@ -12,8 +12,8 @@
<section class="area">
<h3>So who am I?</h3>
<p>
I&apos;m <span class="em">James King</span>, a {age} year old Software
Engineer from Lincolnshire, who has an affinity for Coca-Cola, bacon,
I&apos;m <span class="em">James King</span>, a Software
Engineer from Nottinghamshire, who has an affinity for Coca-Cola, bacon,
and being pretty bad at boardgames despite my intense love of them.
You want some more info?
<span class="em2">Fine...</span>
Expand Down
3 changes: 1 addition & 2 deletions scripts/generatePages.ts
Expand Up @@ -27,7 +27,7 @@ const generatePages = (): void => {
description = 'A peak inside my brain you ask? Reader, beware...';
break;
case 'profile':
description = `So who am I? I'm James King, a ${age} year old Software Engineer from Lincolnshire. You want some more info?`;
description = `So who am I? I'm James King, a Software Engineer from Nottinghamshire. You want some more info?`;
break;
case 'coding':
description = "Shall we take a look at some projects I've done?";
Expand All @@ -51,7 +51,6 @@ const generatePages = (): void => {
)
.replace(/{subpage}/g, '')
.replace(/{description}/g, description)
.replace(/{age}/g, age)
.replace(/{year}/g, new Date().getFullYear().toString())
.replace(
/{noindex}/g,
Expand Down

0 comments on commit f14847a

Please sign in to comment.