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

Update umami to use cdn #638

Merged
merged 8 commits into from
Apr 26, 2023
Merged

Update umami to use cdn #638

merged 8 commits into from
Apr 26, 2023

Conversation

LeenHawk
Copy link
Contributor

PR Checklist

PR Type

  • Bugfix.
  • Feature.
  • Improvement.
  • Code style update (formatting, linting).
  • Refactoring (no functional changes).
  • Documentation.
  • Translation.
  • Other... Please describe:

What is the current behavior?

umima can't use cdn

Issue resolved:

None.

What is the new behavior?

According to Umima issue

  • Link to demo site with this changes:
  • Screenshots with this changes:

How to use?

In NexT _config.yml:

umami:
  enable: false
  script_url: # https://umami.example.com/script.js
  website_id: # <your website id>
  data_host_url: # <your umami site url>

@LeenHawk LeenHawk mentioned this pull request Apr 20, 2023
3 tasks
@stevenjoezhang stevenjoezhang added this to the 8.16.0 milestone Apr 26, 2023
@stevenjoezhang stevenjoezhang linked an issue Apr 26, 2023 that may be closed by this pull request
3 tasks
@stevenjoezhang stevenjoezhang merged commit 4799715 into next-theme:master Apr 26, 2023
@welcome
Copy link

welcome bot commented Apr 26, 2023

Congrats on merging your first pull request here! 🎉 How awesome!

@stevenjoezhang stevenjoezhang changed the title Update umima to use cdn Update umami to use cdn Apr 27, 2023
@stevenjoezhang
Copy link
Member

Besides, it's called umami, not umima 😂

@LeenHawk
Copy link
Contributor Author

Besides, it's called umami, not umima 😂

Another example of the order of PinYin doesn't affect read in Chinese 😂

gtn1024 pushed a commit to gtn1024/hexo-theme-next that referenced this pull request Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

通过CDN分发umami JS
2 participants