diff --git a/source/_posts/demo/Cyberpunk.md b/source/_posts/demo/Cyberpunk.md index b72f401..c60dadb 100644 --- a/source/_posts/demo/Cyberpunk.md +++ b/source/_posts/demo/Cyberpunk.md @@ -61,13 +61,12 @@ The theme is inspired by the video game [Cyberpunk 2077](https://www.cyberpunk.n developed by CD PROJEKT RED. This variant aims at providing a different Icarus experience to these who like dark-themed blogs. -It should be noted that it uses recent web styling features that are not working properly +It should be noted that it uses recent web styling features that are not working correctly in some legacy browsers, including Internet Explorer and legacy Microsoft Edge. -To enable the Cyberpunk theme, please open your theme's `_config.yml` and make the following -change: +To enable the Cyberpunk theme, open your theme's `_config.yml` and make the following change: {% codeblock themes/icarus/_config.yml lang:diff %} - variant: default @@ -77,9 +76,9 @@ change: You may also want to change the theme of highlighted code blocks. In that case, you can find some dark highlight.js themes [here](https://github.com/highlightjs/highlight.js/tree/master/src/styles). -Copy the file name excluding the `.css` extension and put it in the `article.highlight.theme` +Copy the file name, excluding the `.css` extension, and put it in the `article.highlight.theme` option in Icarus' `_config.yml`. -For example, if you want to change the theme to `xt256`, simply make the following edit: +For example, if you want to change the theme to `xt256`, make the following change: {% codeblock themes/icarus/_config.yml lang:diff %} # Article related configurations @@ -89,7 +88,7 @@ article: + theme: xt256 {% endcodeblock %} -Apart from the color palette, Icarus also used two image resources taken from the official -website of the game, which are placed on the top navigation bar and bottom page footer. -If you wish to make further modifications to this theme variant, please take a look at +Apart from the color palette, Icarus also used two image resources that are placed on the top +navigation bar and bottom page footer from the official Cyberpunk 2077 website. +If you wish to make further modifications to this theme variant, you can take a look at `themes/icarus/source/css/cyberpunk.styl`. diff --git a/source/_posts/demo/Hexo-Built-In-Tag-Helpers.md b/source/_posts/demo/Hexo-Built-In-Tag-Helpers.md index 358d2ca..3bac31b 100644 --- a/source/_posts/demo/Hexo-Built-In-Tag-Helpers.md +++ b/source/_posts/demo/Hexo-Built-In-Tag-Helpers.md @@ -5,9 +5,13 @@ tags: toc: true --- -{% quote %} -The following content is directly copied from Hexo official documentation -{% endquote %} +
+
+ +The following content is taken from Hexo documentation +with minor revisions. +
+
Tag plugins are different from post tags. They are ported from Octopress and provide a useful way for you to quickly add specific content to your posts. diff --git a/source/_posts/demo/comment/Disqus.md b/source/_posts/demo/comment/Disqus.md index 84250bd..025b964 100644 --- a/source/_posts/demo/comment/Disqus.md +++ b/source/_posts/demo/comment/Disqus.md @@ -7,8 +7,11 @@ comment: shortname: hexo-theme-icarus --- -
-This is for demonstration only. +
+
+ +This page is for demonstration only. Please report your issues with this plugin to ppoffice/hexo-component-inferno.
+
diff --git a/source/_posts/demo/comment/DisqusJS.md b/source/_posts/demo/comment/DisqusJS.md index bc2a971..8821e3b 100644 --- a/source/_posts/demo/comment/DisqusJS.md +++ b/source/_posts/demo/comment/DisqusJS.md @@ -12,8 +12,11 @@ comment: nesting: 4 --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/comment/Facebook.md b/source/_posts/demo/comment/Facebook.md index c1bab07..a75c944 100644 --- a/source/_posts/demo/comment/Facebook.md +++ b/source/_posts/demo/comment/Facebook.md @@ -6,12 +6,18 @@ comment: type: facebook --- -
-This is for demonstration only. + -
+
+
+ Please turn off your ad blockers if you do not see the comment section.
+
diff --git a/source/_posts/demo/comment/Gitalk.md b/source/_posts/demo/comment/Gitalk.md index 0f8d476..9f1031d 100644 --- a/source/_posts/demo/comment/Gitalk.md +++ b/source/_posts/demo/comment/Gitalk.md @@ -12,8 +12,11 @@ comment: - ppoffice --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/comment/LiveRe.md b/source/_posts/demo/comment/LiveRe.md index 146c67f..9504cad 100644 --- a/source/_posts/demo/comment/LiveRe.md +++ b/source/_posts/demo/comment/LiveRe.md @@ -7,12 +7,18 @@ comment: uid: MTAyMC8zNTExMS8xMTY0Ng== --- -
-This is for demonstration only. + -
+
+
+ Please turn off your ad blockers if you do not see the comment section.
+
diff --git a/source/_posts/demo/comment/Utterances.md b/source/_posts/demo/comment/Utterances.md index f89e5b8..4f86496 100644 --- a/source/_posts/demo/comment/Utterances.md +++ b/source/_posts/demo/comment/Utterances.md @@ -10,8 +10,11 @@ comment: issue_term: pathname --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/comment/Valine.md b/source/_posts/demo/comment/Valine.md index d26609d..4d9fc69 100644 --- a/source/_posts/demo/comment/Valine.md +++ b/source/_posts/demo/comment/Valine.md @@ -18,8 +18,11 @@ comment: record_ip: false --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/search/Algolia.md b/source/_posts/demo/search/Algolia.md index 59360f5..09ffd46 100644 --- a/source/_posts/demo/search/Algolia.md +++ b/source/_posts/demo/search/Algolia.md @@ -6,8 +6,11 @@ search: type: algolia --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/search/Google-CSE.md b/source/_posts/demo/search/Google-CSE.md index 14f9985..2bcffde 100644 --- a/source/_posts/demo/search/Google-CSE.md +++ b/source/_posts/demo/search/Google-CSE.md @@ -7,8 +7,11 @@ search: cx: 006888261376761189075:qxqdcvqzio0 --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/share/AddThis.md b/source/_posts/demo/share/AddThis.md index eb6a843..78d30b2 100644 --- a/source/_posts/demo/share/AddThis.md +++ b/source/_posts/demo/share/AddThis.md @@ -7,12 +7,18 @@ share: install_url: //s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5ab6fa5759854232 --- -
-This is for demonstration only. + -
+
+
+ Please turn off your ad blockers if you do not see the buttons.
+
diff --git a/source/_posts/demo/share/AddToAny.md b/source/_posts/demo/share/AddToAny.md index e7c3eb9..0d7dcce 100644 --- a/source/_posts/demo/share/AddToAny.md +++ b/source/_posts/demo/share/AddToAny.md @@ -6,8 +6,11 @@ share: type: addtoany --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/share/BaiduShare.md b/source/_posts/demo/share/BaiduShare.md index ffbc047..586aa94 100644 --- a/source/_posts/demo/share/BaiduShare.md +++ b/source/_posts/demo/share/BaiduShare.md @@ -6,12 +6,18 @@ share: type: bdshare --- -
-This is for demonstration only. + -
+
+
+ Please turn off your ad blockers if you do not see the buttons.
+
diff --git a/source/_posts/demo/share/ShareThis.md b/source/_posts/demo/share/ShareThis.md index 51f1510..c88fd10 100644 --- a/source/_posts/demo/share/ShareThis.md +++ b/source/_posts/demo/share/ShareThis.md @@ -7,8 +7,11 @@ share: install_url: //platform-api.sharethis.com/js/sharethis.js#property=5ab6f60ace89f00013641890&product=inline-share-buttons --- -
-This is for demonstration only. + diff --git a/source/_posts/demo/share/Sharejs.md b/source/_posts/demo/share/Sharejs.md index 4e8ce45..0161229 100644 --- a/source/_posts/demo/share/Sharejs.md +++ b/source/_posts/demo/share/Sharejs.md @@ -6,8 +6,11 @@ share: type: sharejs --- -
-This is for demonstration only. + diff --git a/source/_posts/en/Configuring-Theme.md b/source/_posts/en/Configuring-Theme.md index 903e52d..d5882c5 100644 --- a/source/_posts/en/Configuring-Theme.md +++ b/source/_posts/en/Configuring-Theme.md @@ -19,7 +19,7 @@ It also explains what configuration files are used and how Icarus generate and v @@ -455,7 +455,7 @@ Finally, Icarus will also check the Node.js package dependencies and remind you
- + Something wrong with this article? Click here to submit your revision.
diff --git a/source/_posts/en/FAQ.md b/source/_posts/en/FAQ.md index 1279779..ab5e68c 100644 --- a/source/_posts/en/FAQ.md +++ b/source/_posts/en/FAQ.md @@ -15,7 +15,7 @@ Additionally, you may find help from other Icarus users on [Gitter](https://gitt @@ -23,7 +23,7 @@ This article is also available in 简体中 ## Site -
+
I can't generate my site. / I met some errors when I generate my site.
@@ -38,7 +38,7 @@ file. Also, remove all unused Node.js dependencies from your site, or they may cause strange problems to Icarus. -
+
How do I change the language of my site?
@@ -58,7 +58,7 @@ The `language_name` is the translation file name without the `.yml` extension. ## Layout -
+
How do I change the page width? How do I use the one/two/three-column layout?
@@ -111,7 +111,7 @@ Here are some tips for creating a one/two/three-column layout: To change the layout for a single or all posts/pages, refer to [Configuration Files and Priority](/hexo-theme-icarus/Configuration/icarus-user-guide-configuring-the-theme/#Configuration-Files-and-Priority). -
+
Where are the layout files for widgets/comments/share...? How do I customize built-in widgets/comments/share...?
@@ -140,7 +140,7 @@ Similarly, you can override static files like [`asset/js/insight.js`](https://github.com/ppoffice/hexo-component-inferno/blob/0.2.4/asset/js/insight.js) in the same way. -
+
Why don't my layout changes take effect when I refresh the page (assuming I am running the hexo server? @@ -156,7 +156,7 @@ Execute `hexo clean` before running `hexo server` or `hexo generate` should reso ## Content -
+
My images are not showing up. / My images only show in index pages but not in posts.
@@ -177,7 +177,7 @@ image automatically: In this case, you may omit the subdirectory of your domain name. You can refer to [Hexo documentation](https://hexo.io/docs/tag-plugins#Image) for more details. -
+
How to add an excerpt for a post? How to display the "Read more" button?
@@ -197,7 +197,7 @@ excerpt: This is an article about ... # Post content... {% endcodeblock %} -
+
How do I encrypt my posts?
@@ -205,7 +205,7 @@ How do I encrypt my posts? Use third-party Hexo plugins such as [hexo-blog-encrypt](https://github.com/MikeCoder/hexo-blog-encrypt). -
+
How do I use those fancy elements in this article for my posts?
@@ -217,7 +217,7 @@ Copy the HTML snippets and put them in your Markdown files directly. ## Widgets and Plugins -
+
How can I get rid of those red alerts that are showing on the page and warning me of configuration value not set?
@@ -240,7 +240,7 @@ For example, you can disable the comment plugins by commenting out the following
- + Something wrong with this article? Click here to submit your revision.
diff --git a/source/_posts/en/Getting-Started.md b/source/_posts/en/Getting-Started.md index cc0fe77..73a5f19 100644 --- a/source/_posts/en/Getting-Started.md +++ b/source/_posts/en/Getting-Started.md @@ -19,7 +19,7 @@ open to a sea of improvement possibilities. @@ -80,7 +80,7 @@ You can also submit your Icarus tutorial through [this link](https://github.com/
diff --git a/themes/icarus b/themes/icarus index 5ff135c..ea0434b 160000 --- a/themes/icarus +++ b/themes/icarus @@ -1 +1 @@ -Subproject commit 5ff135cccd1f4eec3081c4a513076cb80075a513 +Subproject commit ea0434b426216eb0ccc176d106de0fda893956f6