From cdbd5c16c078fc02de3871d418da7ca2da743549 Mon Sep 17 00:00:00 2001 From: sungcheol Date: Tue, 23 May 2023 21:02:33 +0900 Subject: [PATCH] install gtag --- .vscode/launch.json | 2 +- .vscode/settings.json | 21 +++++++++++++++++++++ layouts/index.html | 1 + layouts/partials/gtag.html | 14 ++++++++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json create mode 100644 layouts/partials/gtag.html diff --git a/.vscode/launch.json b/.vscode/launch.json index 6192bde..a1e471d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,3 +1,3 @@ { - "defaultTheme": "grav" + "defaultTheme": "grav", } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a9ed5bd --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,21 @@ +{ + "prettier.disableLanguages": ["js", "json", "javascript", "html"], + "javascript.format.enable": false, + "typescript.format.enable": false, + "json.format.enable": false, + "html.format.enable": false, + "emmet.showAbbreviationSuggestions": false, + "css.validate": false, + "editor.defaultFormatter": null, + "editor.formatOnSave": false, + "[javascript]": { + "editor.formatOnSave": false, + "editor.defaultFormatter": null + }, + "editor.trimAutoWhitespace": false, + "diffEditor.ignoreTrimWhitespace": false, + "files.trimTrailingWhitespace": false, + "files.trimFinalNewlines": false, + "eslint.format.enable": false, + "files.autoSave": "off" +} diff --git a/layouts/index.html b/layouts/index.html index 0cc10b1..4cda49b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,7 @@ {{ partial "header.html" . }} +{{ partial "gtag.html" . }}
{{ partial "head.html" . }} diff --git a/layouts/partials/gtag.html b/layouts/partials/gtag.html new file mode 100644 index 0000000..b7945cf --- /dev/null +++ b/layouts/partials/gtag.html @@ -0,0 +1,14 @@ + + +