-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsite.js
More file actions
26 lines (23 loc) · 712 Bytes
/
site.js
File metadata and controls
26 lines (23 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import dotenv from "dotenv";
dotenv.config();
export default function loadSiteData() {
const envSiteUrl = process.env.SITE_URL;
const siteUrl = envSiteUrl && envSiteUrl.trim().length > 0 ? envSiteUrl : "https://stanlemon.com";
return {
name: "Stan Lemon",
title: "Stan Lemon",
author: "Stan Lemon",
description: "husband, dad, steelers fan and software developer",
social: {
github: "stanlemon",
linkedin: "stanlemon",
instagram: "stanlemon",
threads: "stanlemon",
youtube: "@stanlemon",
},
// Always return a fully-qualified canonical base URL
url: siteUrl,
// Google Analytics tracking ID
googleAnalyticsId: "G-LRTQMGFLV3",
};
}