Hexo Icarus 修改歷程

Blog 客製化

更改背景色

更改$body-background-color

~\themes\icarus\include\style\base.styl
1
$body-background-color ?= $blue

參數路徑:

~\node_modules\bulma-stylus\stylus\utilities\initial-variables.styl
1
2
3
4
5
6
$orange ?=       hsl(16,  100%, 50%)
$yellow ?= hsl(48, 100%, 67%)
$green ?= hsl(141, 53%, 53%)
$turquoise ?= hsl(171, 100%, 41%)
$cyan ?= hsl(204, 71%, 53%)
$blue ?= hsl(219, 97%, 14%)

Hexo - Icarus 多國語系

目前Hexo並沒有支援多國語系,網路上的方式都是以Next主題實做多國語系為主,本篇將以Icarus主題來實做多國語系的Blog。

Step 1: 建立英文站點

在原本Hexo的根目錄下建立en 資料夾(在此命名為blog_en),將原本Hexo根目錄下的所有檔案/資料夾複製一份到en資料夾中。

node_modules不必複製到en資料夾中


讓Google也能搜尋到 Hexo - Icarus Blog

我們想讓自己的Blog也能讓Google搜尋的到,該如何做呢?

Google Search Console提供了Sitemap的方式,讓我們的Blog也能被搜尋到囉。
步驟如下:

Step 1: 安裝Hexo sitemap


Hexo - Icarus 使用 Google AdSense

使用Hexo主題Icarus來架設網站,想要使用Google AdSense來增加廣告收益時,
搜尋網站資料,大多是使用Hexo的Next主題來架設。

經過一番研究之後,終於在自己的網站上嵌入Google AdSense了。
以下為嵌入Google AsSense的步驟。

只支援Icarus 3.0之前的版本