Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove posthog #8

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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