hypnagaga_old/src/_data/meta.js
2025-06-16 13:04:00 +02:00

95 lines
3.7 KiB
JavaScript

export const url = process.env.URL || 'http://localhost:8080';
// Extract domain from `url`
export const domain = new URL(url).hostname;
export const siteName = 'Eleventy Excellent';
export const siteDescription = 'Eleventy starter for building modern, resilient websites';
export const siteType = 'Person'; // schema
export const locale = 'en_EN';
export const lang = 'en';
export const skipContent = 'Skip to content';
export const author = {
name: 'Lene Saile', // i.e. Lene Saile - page / blog author's name. Must be set.
avatar: '/icon-512x512.png', // path to the author's avatar. In this case just using a favicon.
email: 'hola@lenesaile.com', // i.e. hola@lenesaile.com - email of the author
website: 'https://www.lenesaile.com', // i.e. https.://www.lenesaile.com - the personal site of the author
fediverse: '@lene@front-end.social' // used for highlighting journalism on the fediverse. Can be Mastodon, Flipboard, Threads, WordPress (with the ActivityPub plugin installed), PeerTube, Pixelfed, etc. https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/
};
export const creator = {
name: 'Lene Saile', // i.e. Lene Saile - creator's (developer) name.
email: 'hola@lenesaile.com',
website: 'https://www.lenesaile.com',
social: 'https://front-end.social/@lene'
};
export const pathToSvgLogo = 'src/assets/svg/misc/logo.svg'; // used for favicon generation
export const themeColor = '#dd4462'; // used in manifest, for example primary color value
export const themeLight = '#f8f8f8'; // used for meta tag theme-color, if light colors are prefered. best use value set for light bg
export const themeDark = '#2e2e2e'; // used for meta tag theme-color, if dark colors are prefered. best use value set for dark bg
export const opengraph_default = '/assets/images/template/opengraph-default.jpg'; // fallback/default meta image
export const opengraph_default_alt =
"Visible content: An Eleventy starter with CUBE CSS, Cube CSS, Every Layout, Design Tokens and Tailwind for uitility classes. A workflow for building modern and resilient websites, introduced by Andy Bell's project buildexcellentwebsit.es"; // alt text for default meta image"
export const blog = {
// RSS feed
name: 'My Web Development Blog',
description: 'Tell the word what you are writing about in your blog. It will show up on feed readers.',
// feed links are looped over in the head. You may add more to the array.
feedLinks: [
{
title: 'Atom Feed',
url: '/feed.xml',
type: 'application/atom+xml'
},
{
title: 'JSON Feed',
url: '/feed.json',
type: 'application/json'
}
],
// Tags
tagSingle: 'Tag',
tagPlural: 'Tags',
tagMore: 'More tags:',
// pagination
paginationLabel: 'Blog',
paginationPage: 'Page',
paginationPrevious: 'Previous',
paginationNext: 'Next',
paginationNumbers: true
};
export const details = {
aria: 'section controls',
expand: 'expand all',
collapse: 'collapse all'
};
export const dialog = {
close: 'Close'
};
export const navigation = {
navLabel: 'Menu',
ariaTop: 'Main',
ariaBottom: 'Complementary',
ariaPlatforms: 'Platforms',
drawerNav: false,
subMenu: false
};
export const themeSwitch = {
title: 'Theme',
light: 'light',
dark: 'dark'
};
export const greenweb = {
// https://carbontxt.org/
disclosures: [
{
docType: 'sustainability-page',
url: `${url}/sustainability/`,
domain: domain
}
],
services: [{domain: 'netlify.com', serviceType: 'cdn'}]
};
export const viewRepo = {
// this is for the view/edit on github link. The value in the package.json will be pulled in.
allow: true,
infoText: 'View this page on GitHub'
};
export const easteregg = true;