xiaoheiAh / hugo-theme-pure

A pure theme for Hugo
https://themes.gohugo.io/theme/hugo-theme-pure/
MIT License
267 stars 128 forks source link

更换 CDN #95

Open zanderme opened 4 years ago

zanderme commented 4 years ago

怎么更换成中国的 CDN

1024th commented 3 years ago

按需更改这些地方

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/head.html#L54-L58

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/head.html#L65-L73

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/script.html#L4-L10

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/script.html#L43

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/math.html#L1

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/_script/comment.html#L3-L4

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/_script/comment.html#L39-L40

https://github.com/xiaoheiAh/hugo-theme-pure/blob/c97723a02ac3abace65a6433eab381f0acbe2719/layouts/partials/_script/pv.html#L5