From 604485fd6ff4ff83976bcf216b2b46ae62f8b1dc Mon Sep 17 00:00:00 2001 From: Eden Tsai Date: Sun, 28 Apr 2019 09:47:37 +0800 Subject: [PATCH] Update links to HTTPS and fix broken links (#456) * Update links to HTTPS * Fix broken links --- README.md | 66 ++++++++++++++++---------------- includes/specs/comment.spec.js | 2 +- includes/specs/donate.spec.js | 2 +- includes/specs/footer.spec.js | 2 +- includes/specs/navbar.spec.js | 2 +- includes/specs/plugins.spec.js | 10 ++--- includes/specs/providers.spec.js | 2 +- includes/specs/search.spec.js | 2 +- includes/specs/share.spec.js | 2 +- includes/specs/sidebar.spec.js | 2 +- includes/specs/widgets.spec.js | 12 +++--- layout/common/footer.ejs | 4 +- 12 files changed, 54 insertions(+), 54 deletions(-) diff --git a/README.md b/README.md index 11df54e..de80875 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@

- +
A simple, delicate, and modern theme for the static site generator Hexo.
-Preview | -Documentation | +Preview | +Documentation | Download

-![Icarus](http://ppoffice.github.io/hexo-theme-icarus/gallery/preview.png?1 "Icarus Preview") +![Icarus](https://ppoffice.github.io/hexo-theme-icarus/gallery/preview.png?1 "Icarus Preview") ### :cd: Installation @@ -29,41 +29,41 @@ blog experience, or build your own plugin easily referring to the existing Icaru Comment plugins -- [Changyan](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/changyan-comment-plugin/) -- [Disqus](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/disqus-comment-plugin/) -- [Facebook](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/facebook-comment-plugin/) -- [Gitment](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/gitment-comment-plugin/) -- [Isso](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/isso-comment-plugin/) -- [LiveRe](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/livere-comment-plugin/) -- [Valine](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/valine-comment-plugin/) +- [Changyan](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/changyan-comment-plugin/) +- [Disqus](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/disqus-comment-plugin/) +- [Facebook](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/facebook-comment-plugin/) +- [Gitment](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/gitment-comment-plugin/) +- [Isso](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/isso-comment-plugin/) +- [LiveRe](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/livere-comment-plugin/) +- [Valine](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/valine-comment-plugin/) Search plugins -- [Insight Search](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/insight-search-plugin/) -- [Google Custom Search Engine](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/google-cse-plugin/) -- [Baidu Site Search](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/baidu-search-plugin/) +- [Insight Search](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/insight-search-plugin/) +- [Google Custom Search Engine](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/google-cse-plugin/) +- [Baidu Site Search](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/baidu-search-plugin/) Share plugins -- [AddThis](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/addthis-share-plugin/) -- [AddToAny](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/addtoany-share-plugin/) -- [Baidu Share](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/baidu-share-plugin/) -- [Share.js](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/share-js-share-plugin/) -- [ShareThis](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/sharethis-share-plugin/) +- [AddThis](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/addthis-share-plugin/) +- [AddToAny](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/addtoany-share-plugin/) +- [Baidu Share](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/baidu-share-plugin/) +- [Share.js](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/share-js-share-plugin/) +- [ShareThis](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/sharethis-share-plugin/) Donation Buttons -- [Alipay](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Alipay) -- [Wechat](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Wechat) -- [Paypal](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Paypal) -- [Patreon](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Patreon) +- [Alipay](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Alipay) +- [Wechat](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Wechat) +- [Paypal](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Paypal) +- [Patreon](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Donation/making-money-off-your-blog-with-donation-buttons/#Patreon) Other plugins -- [Hexo Tag Plugin](http://ppoffice.github.io/hexo-theme-icarus/Configuration/Posts/hexo-built-in-tag-helpers/) -- [lightGallery & Justified Gallery](http://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/) -- [MathJax](http://ppoffice.github.io/hexo-theme-icarus/Plugins/General/mathjax-plugin/) -- [Site Analytics](http://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/) +- [Hexo Tag Plugin](https://ppoffice.github.io/hexo-theme-icarus/Configuration/Posts/hexo-built-in-tag-helpers/) +- [lightGallery & Justified Gallery](https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/) +- [MathJax](https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/mathjax-plugin/) +- [Site Analytics](https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/) **Rich Code Highlight Theme Choices** @@ -72,9 +72,9 @@ Icarus directly import code highlight themes from the [highlight.js](https://hig - - - + + +
@@ -106,8 +106,8 @@ menu: - - + + @@ -117,7 +117,7 @@ menu: No matter what modern browsering device your audiences are using, they can always get the best experience because Icarus's responsive layout across multiple viewpoints. -![Responsive Layout](http://ppoffice.github.io/hexo-theme-icarus/gallery/responsive.png) +![Responsive Layout](https://ppoffice.github.io/hexo-theme-icarus/gallery/responsive.png) ### :hammer: Development diff --git a/includes/specs/comment.spec.js b/includes/specs/comment.spec.js index c844ba6..9d12260 100644 --- a/includes/specs/comment.spec.js +++ b/includes/specs/comment.spec.js @@ -114,7 +114,7 @@ const ValineSpec = { module.exports = { [type]: 'object', - [doc]: 'Comment plugin settings\nhttp://ppoffice.github.io/hexo-theme-icarus/categories/Configuration/Comment-Plugins', + [doc]: 'Comment plugin settings\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment', type: { [type]: 'string', [doc]: 'Name of the comment plugin', diff --git a/includes/specs/donate.spec.js b/includes/specs/donate.spec.js index ed13e5f..d32a68e 100644 --- a/includes/specs/donate.spec.js +++ b/includes/specs/donate.spec.js @@ -55,7 +55,7 @@ const PatreonSpec = { module.exports = { [type]: 'array', - [doc]: 'Donation entries\nhttp://ppoffice.github.io/hexo-theme-icarus/categories/Donation/', + [doc]: 'Donation entries\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Donation/', [defaultValue]: DEFAULT_DONATE, '*': { [type]: 'object', diff --git a/includes/specs/footer.spec.js b/includes/specs/footer.spec.js index 948a47a..20a8dd6 100644 --- a/includes/specs/footer.spec.js +++ b/includes/specs/footer.spec.js @@ -17,7 +17,7 @@ module.exports = { }, 'Download on GitHub': { icon: 'fab fa-github', - url: 'http://github.com/ppoffice/hexo-theme-icarus' + url: 'https://github.com/ppoffice/hexo-theme-icarus' } } } diff --git a/includes/specs/navbar.spec.js b/includes/specs/navbar.spec.js index 1f55457..af193bc 100644 --- a/includes/specs/navbar.spec.js +++ b/includes/specs/navbar.spec.js @@ -24,7 +24,7 @@ module.exports = { [defaultValue]: { 'Download on GitHub': { icon: 'fab fa-github', - url: 'http://github.com/ppoffice/hexo-theme-icarus' + url: 'https://github.com/ppoffice/hexo-theme-icarus' } } } diff --git a/includes/specs/plugins.spec.js b/includes/specs/plugins.spec.js index 0ee616e..922d8b7 100644 --- a/includes/specs/plugins.spec.js +++ b/includes/specs/plugins.spec.js @@ -10,7 +10,7 @@ module.exports = { }, gallery: { [type]: 'boolean', - [doc]: 'Enable the lightGallery and Justified Gallery plugins\nhttp://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/', + [doc]: 'Enable the lightGallery and Justified Gallery plugins\nhttps://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/', [defaultValue]: true }, 'outdated-browser': { @@ -20,7 +20,7 @@ module.exports = { }, mathjax: { [type]: 'boolean', - [doc]: 'Enable the MathJax plugin\nhttp://ppoffice.github.io/hexo-theme-icarus/Plugins/General/mathjax-plugin/', + [doc]: 'Enable the MathJax plugin\nhttps://ppoffice.github.io/hexo-theme-icarus/Plugins/General/mathjax-plugin/', [defaultValue]: true }, 'back-to-top': { @@ -30,7 +30,7 @@ module.exports = { }, 'google-analytics': { [type]: ['boolean', 'object'], - [doc]: 'Google Analytics plugin settings\nhttp://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Google-Analytics', + [doc]: 'Google Analytics plugin settings\nhttps://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Google-Analytics', tracking_id: { [type]: 'string', [doc]: 'Google Analytics tracking id', @@ -39,7 +39,7 @@ module.exports = { }, 'baidu-analytics': { [type]: ['boolean', 'object'], - [doc]: 'Baidu Analytics plugin settings\nhttp://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Baidu-Analytics', + [doc]: 'Baidu Analytics plugin settings\nhttps://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Baidu-Analytics', tracking_id: { [type]: 'string', [doc]: 'Baidu Analytics tracking id', @@ -48,7 +48,7 @@ module.exports = { }, hotjar: { [type]: ['boolean', 'object'], - [doc]: 'Hotjar user feedback plugin\nhttp://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Hotjar', + [doc]: 'Hotjar user feedback plugin\nhttps://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Hotjar', site_id: { [type]: ['string', 'number'], [doc]: 'Hotjar site id', diff --git a/includes/specs/providers.spec.js b/includes/specs/providers.spec.js index 699f922..68e026e 100644 --- a/includes/specs/providers.spec.js +++ b/includes/specs/providers.spec.js @@ -2,7 +2,7 @@ const { doc, type, defaultValue } = require('../common/utils').descriptors; module.exports = { [type]: 'object', - [doc]: 'CDN provider settings\nhttp://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/', + [doc]: 'CDN provider settings\nhttps://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/', cdn: { [type]: 'string', [doc]: 'Name or URL of the JavaScript and/or stylesheet CDN provider', diff --git a/includes/specs/search.spec.js b/includes/specs/search.spec.js index a68a21f..a6d2abe 100644 --- a/includes/specs/search.spec.js +++ b/includes/specs/search.spec.js @@ -2,7 +2,7 @@ const { doc, type, defaultValue, required, requires } = require('../common/utils module.exports = { [type]: 'object', - [doc]: 'Search plugin settings\nhttp://ppoffice.github.io/hexo-theme-icarus/categories/Configuration/Search-Plugins', + [doc]: 'Search plugin settings\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search', type: { [type]: 'string', [doc]: 'Name of the search plugin', diff --git a/includes/specs/share.spec.js b/includes/specs/share.spec.js index 2c75811..34a143b 100644 --- a/includes/specs/share.spec.js +++ b/includes/specs/share.spec.js @@ -2,7 +2,7 @@ const { doc, type, defaultValue, required, requires } = require('../common/utils module.exports = { [type]: 'object', - [doc]: 'Share plugin settings\nhttp://ppoffice.github.io/hexo-theme-icarus/categories/Configuration/Share-Plugins', + [doc]: 'Share plugin settings\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Share', type: { [type]: 'string', [doc]: 'Share plugin name', diff --git a/includes/specs/sidebar.spec.js b/includes/specs/sidebar.spec.js index 000f281..74ed518 100644 --- a/includes/specs/sidebar.spec.js +++ b/includes/specs/sidebar.spec.js @@ -6,7 +6,7 @@ function commonSettings(position) { [doc]: position + ' sidebar settings', sticky: { [type]: 'boolean', - [doc]: 'Whether the ' + position + ' sidebar is sticky when page scrolls\nhttp://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/make-a-sidebar-sticky-when-page-scrolls/', + [doc]: 'Whether the ' + position + ' sidebar is sticky when page scrolls\nhttps://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/make-a-sidebar-sticky-when-page-scrolls/', [defaultValue]: false } } diff --git a/includes/specs/widgets.spec.js b/includes/specs/widgets.spec.js index 973cdbf..264de9b 100644 --- a/includes/specs/widgets.spec.js +++ b/includes/specs/widgets.spec.js @@ -10,23 +10,23 @@ const DEFAULT_WIDGETS = [ avatar: null, gravatar: null, avatar_rounded: false, - follow_link: 'http://github.com/ppoffice', + follow_link: 'https://github.com/ppoffice', social_links: { Github: { icon: 'fab fa-github', - url: 'http://github.com/ppoffice' + url: 'https://github.com/ppoffice' }, Facebook: { icon: 'fab fa-facebook', - url: 'http://facebook.com' + url: 'https://facebook.com' }, Twitter: { icon: 'fab fa-twitter', - url: 'http://twitter.com' + url: 'https://twitter.com' }, Dribbble: { icon: 'fab fa-dribbble', - url: 'http://dribbble.com' + url: 'https://dribbble.com' }, RSS: { icon: 'fas fa-rss', @@ -127,7 +127,7 @@ const LinksSpec = { module.exports = { [type]: 'array', - [doc]: 'Sidebar widget settings\nhttp://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/', + [doc]: 'Sidebar widget settings\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/', [defaultValue]: DEFAULT_WIDGETS, '*': { [type]: 'object', diff --git a/layout/common/footer.ejs b/layout/common/footer.ejs index ac4dfbb..593a971 100644 --- a/layout/common/footer.ejs +++ b/layout/common/footer.ejs @@ -11,8 +11,8 @@

© <%= date(new Date(), 'YYYY') %> <%= get_config('author') || get_config('title') %>  - Powered by Hexo & Icarus + Powered by Hexo & Icarus <% if (has_config('plugins.busuanzi') ? get_config('plugins.busuanzi') : false) { %>