chore: update to latest astro ink version

This commit is contained in:
Timothy DeHerrera
2024-07-06 14:41:28 -06:00
parent 97aa45c32e
commit e4620874f9
84 changed files with 13949 additions and 4620 deletions

View File

@@ -1,36 +1,58 @@
import type{ NavItems } from './types'
import type { NavItems } from "./types";
export const NAV_ITEMS: NavItems = {
home: {
path: '/',
title: 'home'
},
blog: {
path: '/blog',
title: 'blog'
},
tags: {
path: '/tags',
title: 'tags'
},
media: {
path: '/media',
title: 'media'
},
about: {
path: '/about',
title: 'about'
}
}
home: {
path: "/",
title: "home",
},
blog: {
path: "/blog",
title: "blog",
},
tags: {
path: "/tags",
title: "tags",
},
media: {
path: "/media",
title: "media",
},
about: {
path: "/about",
title: "about",
},
};
export const SITE = {
name: 'nrdlg',
title: 'nrdlg',
description: 'Personal blog of Tim DeHerrera',
url: 'https://nrd.sh',
ghUser: 'nrdxp',
githubUrl: 'https://github.com/nrdxp',
listDrafts: false
}
// Your site's detail?
name: "nrdlg",
title: "nrdlg",
description: "Personal blog of nrdxp",
url: "https://nrd.sh",
githubUrl: "https://github.com/nrdxp/nrd.sh",
listDrafts: false,
image:
"https://raw.githubusercontent.com/one-aalam/astro-ink/main/public/astro-banner.png",
// YT video channel Id (used in media.astro)
ytChannelId: "",
// Optional, user/author settings (example)
// Author: name
author: "nrdxp", // Example: Fred K. Schott
// Author: Twitter handler
authorTwitter: "", // Example: FredKSchott
// Author: Image external source
authorImage: "", // Example: https://pbs.twimg.com/profile_images/1272979356529221632/sxvncugt_400x400.jpg, https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png
// Author: Bio
authorBio:
"hackermans",
};
export const PAGE_SIZE = 8
// Ink - Theme configuration
export const PAGE_SIZE = 8;
export const USE_POST_IMG_OVERLAY = false;
export const USE_MEDIA_THUMBNAIL = true;
export const USE_AUTHOR_CARD = true;
export const USE_SUBSCRIPTION = false; /* works only when USE_AUTHOR_CARD is true */
export const USE_VIEW_STATS = true;