mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 08:16:42 +00:00
feat: add metadata constants config list for site feed and sitemap generation references
This commit is contained in:
parent
524b90f2a4
commit
d8d1718223
24
docs/.vitepress/config/meta.ts
Normal file
24
docs/.vitepress/config/meta.ts
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
import { version } from '../../../package.json'
|
||||||
|
|
||||||
|
// base info
|
||||||
|
export const name = 'toshiki-notebook'
|
||||||
|
export const site = 'https://note.toshiki.dev'
|
||||||
|
export const logo = 'https://note.toshiki.dev/logos/logo-308px.png'
|
||||||
|
export const keywords =
|
||||||
|
'Toshiki, Anda Toshiki, andatoshiki, GitHub, GitHub action, Vitepress, Vite, Notebook, Knowledge base, Programming, Programming Notes, Academic, Personal, Notebook, Productivity, Journal, Note-taking, Markdown, Notepad, Organization, Tutorial'
|
||||||
|
export const description =
|
||||||
|
'Toshiki\'s web notebook served via Vitepress!'
|
||||||
|
|
||||||
|
// social link
|
||||||
|
// export const bilibili = ''
|
||||||
|
export const github = 'https://github.com/chodocs/chodocs'
|
||||||
|
|
||||||
|
// docs version
|
||||||
|
export const docsVersion = version
|
||||||
|
|
||||||
|
/* PWA runtime caching urlPattern regular expressions */
|
||||||
|
/* eslint-disable prefer-regex-literals */
|
||||||
|
export const githubSourceContentRegex = new RegExp('^https://(((raw|user-images|camo).githubusercontent.com))/.*', 'i')
|
||||||
|
export const googleFontRegex = new RegExp('^https://fonts.googleapis.com/.*', 'i')
|
||||||
|
export const googleStaticFontRegex = new RegExp('^https://fonts.gstatic.com/.*', 'i')
|
||||||
|
export const jsdelivrCDNRegex = new RegExp('^https://cdn.jsdelivr.net/.*', 'i')
|
||||||
Loading…
Reference in New Issue
Block a user