summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 09:19:32 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 09:19:37 +0200
commitb7d8b42c20e36b5919608d0172a0d3303c440355 (patch)
tree9077557891eaf539b0754825e63a04d0ef19f55f
parent7b985c59a5639a1568950b84157af6084babf903 (diff)
downloadgohugo-theme-ed-b7d8b42c20e36b5919608d0172a0d3303c440355.tar.gz
Add Google Search Console verification
-rw-r--r--google68c3edfdb3673ddb.html1
-rw-r--r--netlify.toml2
-rw-r--r--package.json1
3 files changed, 3 insertions, 1 deletions
diff --git a/google68c3edfdb3673ddb.html b/google68c3edfdb3673ddb.html
new file mode 100644
index 0000000..7479799
--- /dev/null
+++ b/google68c3edfdb3673ddb.html
@@ -0,0 +1 @@
+google-site-verification: google68c3edfdb3673ddb.html \ No newline at end of file
diff --git a/netlify.toml b/netlify.toml
index 6e37d47..d21d560 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -18,7 +18,7 @@
# here, but we recommend using the Netlify UI for sensitive
# values to keep them out of your source repository.
[context.production]
- command = 'hugo --source=exampleSite --baseURL ${URL} --destination ../public --minify'
+ command = 'hugo --source=exampleSite --baseURL ${URL} --destination ../public --minify; cp google68c3edfdb3673ddb.html ./piblic'
[context.production.environment]
HUGO_ENV = 'production'
diff --git a/package.json b/package.json
index 7283203..1436613 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"author": "Serghei Iakovlev <egrep@protonmail.ch>",
"main": "index.js",
"scripts": {
+ "build": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=production hugo --gc --logLevel info --cleanDestinationDir --printUnusedTemplates --printPathWarnings --printMemoryUsage --printI18nWarnings --buildDrafts --buildExpired --buildFuture --forceSyncStatic",
"server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --logLevel info --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender",
"test": "playwright test",
"lint": "eslint static/js/* assets/js/* tests/*.spec.js eslint.config.js playwright.config.js netlify-preview.js",