Skip to content

Commit

Permalink
Site updated: 2016-04-20 12:06:00
Browse files Browse the repository at this point in the history
  • Loading branch information
pengsamkee committed Apr 20, 2016
1 parent b3fbf00 commit d6817e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2016/04/19/Change-Your-Blog-Hexo-Theme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<meta property="og:image" content="http://www.samkee.me/images/hexoTheme.png">
<meta property="og:image" content="http://www.samkee.me/images/minosTheme.png">
<meta property="og:image" content="http://www.samkee.me/images/hexoTheme.png">
<meta property="og:updated_time" content="2016-04-20T03:49:16.486Z">
<meta property="og:updated_time" content="2016-04-20T04:05:50.634Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="人靠衣装,美靠靓装,为你的Hexo Blog换个主题吧">
<meta name="twitter:description" content="最近使用 Hexo 搭建了一个博客,但是发现 Hexo 的默认主题还是太丑了,不忍直视,所以去 Hexo Theme 预览了很多别人做的优秀主题。发现自己比较喜欢 [Minos] 这个主题,所以朕今天就翻它的牌了,为此记录下具体更换步骤。拉到下面一点,找到 Minos 。按照图片指示①,点击可以进入网站预览主题效果:很漂亮是不是,我已经爱上这个主题了,233333。
Expand Down Expand Up @@ -98,7 +98,7 @@ <h3 id="Configuration"><a href="#Configuration" class="headerlink" title="Config
<li>toc - Whether to show the table of contents in articles.</li>
<li>fancybox - Enable Fancybox.</li>
<li>google_analytics - Google Analytics ID.</li>
<li>favicon - Favicon path.<br>Don’t forget to rename _config.yml.example to _config.yml to enable theme config!<h3 id="Custom-Categories-amp-Tags-Pages"><a href="#Custom-Categories-amp-Tags-Pages" class="headerlink" title="Custom Categories &amp; Tags Pages"></a>Custom Categories &amp; Tags Pages</h3>To enable custom categories page and tags page, just copy the categories folder and tags folder under your theme’s _source foler into your site’s source folder. Then edit theme’s _config.yml and add the following lines:<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"># Header</span><br><span class="line">menu:</span><br><span class="line"> ...</span><br><span class="line"> Categories: categories # -&gt; add this line</span><br><span class="line"> Tags: tags # -&gt; and add this line</span><br><span class="line"> ...</span><br></pre></td></tr></table></figure>
<li>favicon - Favicon path.<br><br>Don’t forget to rename _config.yml.example to _config.yml to enable theme config!<h3 id="Custom-Categories-amp-Tags-Pages"><a href="#Custom-Categories-amp-Tags-Pages" class="headerlink" title="Custom Categories &amp; Tags Pages"></a>Custom Categories &amp; Tags Pages</h3>To enable custom categories page and tags page, just copy the categories folder and tags folder under your theme’s _source foler into your site’s source folder. Then edit theme’s _config.yml and add the following lines:<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"># Header</span><br><span class="line">menu:</span><br><span class="line"> ...</span><br><span class="line"> Categories: categories # -&gt; add this line</span><br><span class="line"> Tags: tags # -&gt; and add this line</span><br><span class="line"> ...</span><br></pre></td></tr></table></figure>
</li>
</ul>
<h3 id="Languages"><a href="#Languages" class="headerlink" title="Languages"></a>Languages</h3><p>English and Simplified Chinese are the default languages of the theme. You can add translations in the languages folder and change the default language in site’s _config.yml.<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">language: zh-CN</span><br></pre></td></tr></table></figure></p>
Expand Down

0 comments on commit d6817e1

Please sign in to comment.