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

修改Sitemap產生方式 #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Spyup
Copy link

@Spyup Spyup commented May 10, 2023

issue #3

  • 產生Sitemap
  • 尚未調整Priority固定值問題

@netlify
Copy link

netlify bot commented May 10, 2023

Deploy Preview for endearing-longma-1f4440 ready!

Name Link
🔨 Latest commit e1315cc
🔍 Latest deploy log https://app.netlify.com/sites/endearing-longma-1f4440/deploys/6497d6bc0a2925000814afed
😎 Deploy Preview https://deploy-preview-22--endearing-longma-1f4440.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Spyup
Copy link
Author

Spyup commented May 25, 2023

功能:

  • 在 scripts/tools 裡新增 modifySitemap.ts 提供修改 Sitemap priority 位置

問題:

  • XML中 session/template 沒有修改為個議程的ID

Copy link
Member

@yoyo930021 yoyo930021 left a comment

Choose a reason for hiding this comment

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

應該除了這個沒什麼問題

package.json Outdated
@@ -12,8 +12,7 @@
"ts": "node -r ./scripts/register.js",
"after-build": "npm run ts -- ./scripts/after-build/index.ts",
"end-build": "npm run ts -- ./scripts/end-build/index.ts",
"tool:generate-sitemap": "node ./scripts/tools/generateSitemap.js",
"tool:generate-sitemap:local": "node ./scripts/tools/generateSitemap.js --local",
"tool:generate-sitemap": "npm run ts -- ./scripts/tools/modifySitemap.ts",
Copy link
Member

Choose a reason for hiding this comment

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

重新命名 script name

@Spyup
Copy link
Author

Spyup commented Jun 25, 2023

已重新命名Script名稱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants