Skip to content

Commit

Permalink
Add site.domain, fix site.host
Browse files Browse the repository at this point in the history
  • Loading branch information
paulshryock committed Jul 18, 2024
1 parent 12f3515 commit 01e99a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/data/site.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* istanbul ignore next */
const host = 'paulshryock.dev'
const domain = 'paulshryock.dev'
/* istanbul ignore next */
const host = `www.${domain}`
/* istanbul ignore next */
const title = 'Paul Shryock'

Expand All @@ -9,6 +11,7 @@ const title = 'Paul Shryock'
* @type {{
* copyright: string
* description: string
* domain: string
* host: string
* language: string
* origin: string
Expand All @@ -22,6 +25,7 @@ export default {
copyright: `Copyright ${new Date().toLocaleString('en-US', { year: 'numeric' })} ${title}. All rights reserved.`,
description:
'Senior software engineer with 15+ years experience, currently building better editorial content publishing tools for the NBA.',
domain,
host,
language: 'en-US',
origin: `https://${host}`,
Expand Down
2 changes: 1 addition & 1 deletion src/includes/components/masthead.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="masthead" style='--site-url-short: "{{ site.host }}"'>
<header class="masthead" style='--site-url-short: "{{ site.domain }}"'>
<div class="branding">
{% if '/' == page.url %}
{% assign title_element = 'h1' %}
Expand Down

0 comments on commit 01e99a9

Please sign in to comment.