Skip to content

Commit 942ebd3

Browse files
committed
Parametrise name
1 parent cf74272 commit 942ebd3

File tree

7 files changed

+17
-9
lines changed

7 files changed

+17
-9
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ collections:
6161
permalink: /blog/category/:name/
6262

6363
details:
64-
location: Meanwood
65-
company: SmartSearch
66-
role: Head of Engineering
64+
location: Meanwood
65+
company: SmartSearch
66+
role: Head of Engineering

_data/global/profile.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
first_name: Chris
2+
middle_name: Mark
3+
last_name: Buckley

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<footer>
88
<div class="container">
99
<p class="copy">
10-
&copy; <a href="{{ main_repo.html_url | replace: 'http:','https:' }}#licence">{{ site.time | date: '%Y' }} Chris Buckley</a>.
10+
&copy; <a href="{{ main_repo.html_url | replace: 'http:','https:' }}#licence">{{ site.time | date: '%Y' }} {{ site.title }}</a>.
1111
<span class="powered">Powered by <a href="https://jekyllrb.com">Jekyll</a> / <a href="https://pages.github.com/">GitHub Pages</a>
1212
<span class="source-link">({{ edit_link | replace_first: '/edit/','/blob/' }})</span></span>
1313
</p>

_includes/seo.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@
5353
{% endif -%}
5454

5555
{% if page.og_type == 'profile' -%}
56+
<meta content="{{ site.data.global.profile.first_name }}" property="profile:first_name">
57+
<meta content="{{ site.data.global.profile.last_name }}" property="profile:last_name">
5658
<script type="application/ld+json">{
5759
"@context": "https://schema.org",
5860
"@type": "ProfilePage",
5961
"primaryImageOfPage": "{{ site.url }}/assets/img/headshot.jpg",
6062
"mainEntity": {
6163
"@type": "Person",
62-
"name": "Chris Buckley",
64+
"name": "{{ site.data.global.profile.first_name }} {{ site.data.global.profile.last_name }}",
6365
"image": "{{ site.url }}/assets/img/headshot.jpg"
6466
}
6567
}</script>

assets/site.webmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
---
33
{
4-
"name": "Chris Buckley",
4+
"name": "{{ site.data.global.profile.first_name }} {{ site.data.global.profile.last_name }}",
55
"short_name": "Bux",
66
"icons": [
77
{

contact.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ title: Contact Me
33
description: Contact Chris Buckley via email or social media. Includes PGP keys for private messages.
44
layout: page
55
form_name: Contact Form
6+
og_type: website
67
---
78

89
<div id="contact">
910
<div class="contact__content">
1011
<dl class="vcard">
1112
<dt>Name:</dt>
12-
<dd class="fn n"><span class="given-name">Christopher</span> <span class="additional-name">Mark</span> <span class="family-name">Buckley</span></dd>
13+
<dd class="fn n"><span class="given-name">{{ site.data.global.profile.first_name }}</span>
14+
<span class="additional-name">{{ site.data.global.profile.middle_name }}</span>
15+
<span class="family-name">{{ site.data.global.profile.last_name }}</span></dd>
1316

1417
<dt>Home page:</dt>
1518
<dd class="url">{{ site.url }}</dd>

index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Chris Buckley's Personal Site
44
link_title: Home
55
supress_site_title: true
66
shortlink: /
7-
og_type: profile
7+
og_type: website
88
---
99

10-
I'm Chris Buckley, a Leeds-born software enthusiast currently living in {{ site.details.location }}. I've been [interested in computers](/interests/computing/) ever since I can remember, and it was this and an obsession with all things mathematical that led me to study both at the [University of Durham](https://www.dur.ac.uk/) between 2003 and 2009. I am the {{ site.details.role }} at {{ site.details.company }}.
10+
I'm {{ site.data.global.profile.first_name }} {{ site.data.global.profile.last_name }}, a Leeds-born software enthusiast currently living in {{ site.details.location }}. I've been [interested in computers](/interests/computing/) ever since I can remember, and it was this and an obsession with all things mathematical that led me to study both at the [University of Durham](https://www.dur.ac.uk/) between 2003 and 2009. I am the {{ site.details.role }} at {{ site.details.company }}.
1111

1212
As well as computers and programming, I enjoy [rock climbing](/interests/climbing/), [snowboarding](/interests/snowboarding/) and live music, and when I'm not working or doing one of those things you can usually find me in one of Leeds or York's many pubs and bars.

0 commit comments

Comments
 (0)