Skip to content

Commit 0f4b5b9

Browse files
committed
add canonical link
1 parent 20ab0fd commit 0f4b5b9

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

.browserslistrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# use .env.local or actual env variables to override
2+
VITE_CANONICAL_URL=https://material-e621.avoonix.com
3+
VITE_GOOGLE_SITE_VERIFICATION_META=""

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ coverage
1818
/cypress/screenshots/
1919

2020
# Editor directories and files
21-
.vscode/*
22-
!.vscode/extensions.json
2321
.idea
2422
*.suo
2523
*.ntvs*
@@ -103,8 +101,8 @@ typings/
103101
.yarn-integrity
104102

105103
# dotenv environment variables file
106-
.env
107104
.env.test
105+
.env.local
108106

109107
# parcel-bundler cache (https://parceljs.org/)
110108
.cache
@@ -160,7 +158,6 @@ npm-debug.log*
160158
public/static/*.png
161159
public/favicon.ico
162160

163-
.vscode/settings.json
164161
/test-results/
165162
/playwright-report/
166163
/playwright/.cache/

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"explorer.fileNesting.enabled": true,
3+
"explorer.fileNesting.patterns": {
4+
"tsconfig.json": "tsconfig.*.json, env.d.ts",
5+
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
6+
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig"
7+
},
8+
"editor.codeActionsOnSave": {
9+
"source.fixAll": "explicit"
10+
},
11+
"editor.formatOnSave": true,
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
13+
}

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta name="description"
1313
content="Material e621 is a modern, open source web client for e621.net. It is customizable, comes with a bunch of additional features that are not available on e621.net, and makes browsing posts a delightful experience." />
1414
<meta name="google-site-verification" content="%VITE_GOOGLE_SITE_VERIFICATION_META%" />
15+
<link rel="canonical" href="%VITE_CANONICAL_URL%" />
1516
<title>Material e621</title>
1617
<style>
1718
.sr-only {

0 commit comments

Comments
 (0)