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

fix: fix waline libUrl #1311

Merged
merged 1 commit into from
May 28, 2024
Merged

fix: fix waline libUrl #1311

merged 1 commit into from
May 28, 2024

Conversation

njzjz
Copy link
Owner

@njzjz njzjz commented May 28, 2024

@@ -2,6 +2,6 @@ const { version } = require("@waline/client/package.json");


hexo.on('generateBefore', function () {
hexo.config.waline.libUrl = `https://cdnjs.cloudflare.com/ajax/libs/waline/${version}/waline.js`;
hexo.config.waline.libUrl = `https://cdnjs.cloudflare.com/ajax/libs/waline/${version}/waline.umd.js`;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'template literal syntax' is only available in ES6 (use 'esversion: 6').

Copy link

cloudflare-workers-and-pages bot commented May 28, 2024

Deploying jinzhe-blog with  Cloudflare Pages  Cloudflare Pages

Latest commit: 83f950d
Status: ✅  Deploy successful!
Preview URL: https://391f388d.jinzhe-blog.pages.dev
Branch Preview URL: https://fix-waline.jinzhe-blog.pages.dev

View logs

Jinzhe Zeng's Blog
PhD candidate at Rutgers University
Jinzhe Zeng's Blog
PhD candidate at Rutgers University

@njzjz njzjz merged commit da687aa into hexo May 28, 2024
5 checks passed
@njzjz njzjz deleted the fix-waline branch May 28, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant