Skip to content

Commit

Permalink
feat: start adjusting content
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Oct 10, 2023
1 parent 0bb23c3 commit 5798a4b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
run: |
pnpm docs:build # or npm run docs:build / yarn docs:build / bun run docs:build
touch .vitepress/dist/.nojekyll
cp -pr public/* .vitepress/dist/
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down
13 changes: 12 additions & 1 deletion .vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import VitePluginVitepressDemo from 'vite-plugin-vitepress-demo'

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "PDanPDan",
lang: 'en-US',
titleTemplate: ':title | PDanPDan',
description: "PDanPDan code and examples for web",

srcDir: 'pages',
Expand Down Expand Up @@ -42,6 +43,16 @@ export default defineConfig({
]
},

sitemap: {
hostname: 'https://pdanpdan.github.io/'
},

lastUpdated: true,

markdown: {
lineNumbers: true
},

vite: {
plugins: [
VitePluginVitepressDemo( {
Expand Down
2 changes: 2 additions & 0 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# https://vitepress.dev/reference/default-theme-home-page
layout: home

title: "Home Page"

hero:
name: "PDanPDan"
text: "PDanPDan code and examples for web"
Expand Down
File renamed without changes.

0 comments on commit 5798a4b

Please sign in to comment.