Skip to content

Commit

Permalink
Merge pull request #8 from evansosenko/remove-posthog
Browse files Browse the repository at this point in the history
Remove posthog
  • Loading branch information
razor-x authored Dec 26, 2023
2 parents 85d6ae0 + b01b176 commit cc45dcc
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"root": true,
"extends": ["standard", "prettier"],
"ignorePatterns": ["themes/default/assets/js/posthog.js"]
"extends": ["standard", "prettier"]
}
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# Prettier overrides
*.html
themes/default/assets/css/fontawesome.css
themes/default/assets/js/posthog.js

# Node.js
node_modules
Expand Down
2 changes: 0 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ disableKinds = ["rss", "taxonomy", "term"]
author = "Evan Sosenko"
languageDir = 'ltr'
images = ["avatar.png"]
posthog.api = "/_ph"
posthog.key = "phc_6chuBqaboGyoUo5cEmK9j18371Yw99MFagIPj0Hoq3Y"

[security]
[security.funcs]
Expand Down
6 changes: 0 additions & 6 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,3 @@
to = "https://unpkg.com/@picocss/[email protected]/css/pico.min.css.map"
status = 200
force = true

[[redirects]]
from = "/_ph/*"
to = "https://app.posthog.com/:splat"
status = 200
force = true
6 changes: 0 additions & 6 deletions themes/default/assets/js/posthog.js

This file was deleted.

3 changes: 1 addition & 2 deletions themes/default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ css = [
js = [
"js/theme.js",
"js/modal.js",
"js/gamer.js",
"js/posthog.js"
"js/gamer.js"
]

theme.color = "#00a2e8"
Expand Down

0 comments on commit cc45dcc

Please sign in to comment.