Skip to content

Commit

Permalink
add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Blakeinstein committed Dec 4, 2023
1 parent 4b61f8a commit 8cb5dfd
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Build
run: pnpm build
- name: Optimize build
run: pnpm optimize
run: pnpm postbuild
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"postbuild": "pnpm optimize && pnpm sitemap",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "eslint .",
"format": "eslint --fix .",
"optimize": "jampack ./build --exclude **/*.js"
"optimize": "jampack ./build --exclude **/*.js",
"sitemap": "svelte-sitemap --domain https://$CNAME"
},
"devDependencies": {
"@builder.io/partytown": "^0.8.0",
Expand Down Expand Up @@ -40,6 +42,7 @@
"svelte-inview": "^4.0.1",
"svelte-preprocess": "^5.0.4",
"svelte-sequential-preprocessor": "^2.0.1",
"svelte-sitemap": "^2.6.0",
"tailwindcss": "^3.3.3",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
Expand Down
80 changes: 80 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/lib/components/sections/hero/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@
word-spacing: 0.5rem;
}
.gradient-text {
display: inline;
}
.col {
letter-spacing: 0.05em;
color: var(--color-primary-content);
Expand Down
2 changes: 2 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Sitemap: https://blaine.vip/sitemap.xml

0 comments on commit 8cb5dfd

Please sign in to comment.