+
+The following content is taken from Hexo documentation
+with minor revisions.
+
+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 %} + 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 --- -