-
Notifications
You must be signed in to change notification settings - Fork 564
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
feat(analytics): add analytics id function #147
Conversation
# Analytics Systems | ||
# Available value: | ||
# baidu | google | ||
analytics: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete use
field.
set null value of baidu_id
& google_id
@@ -95,6 +95,29 @@ | |||
} | |||
</script> | |||
|
|||
<% if(theme.analytics.use === 'baidu') { %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this judgement.
Template:
<% if(theme.analytics.baidu_id){ %>
baidu analytics code
<% } %>
Done. Please review. Thx. |
Alright, markdown docs |
Please be sure to put the
canary
branch as the target for your pull request.What kind of change does this PR introduce? (check one with "x")
Does this PR introduce a breaking change? (check one with "x")