Skip to content

Commit

Permalink
Site updated: 2024-05-11 21:39:15
Browse files Browse the repository at this point in the history
  • Loading branch information
eddy1937 committed May 11, 2024
1 parent 04895f6 commit 674feb9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion en/hexo-generator-i18n-404-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h1 class="post-title" itemprop="name headline">
</span>
<span class="post-meta-item-text">Posted on</span>

<time title="Created: 2024-05-11 21:34:18" itemprop="dateCreated datePublished" datetime="2024-05-11T21:34:18+08:00">2024-05-11</time>
<time title="Created: 2024-05-11 21:39:15" itemprop="dateCreated datePublished" datetime="2024-05-11T21:39:15+08:00">2024-05-11</time>
</span>


Expand Down
2 changes: 1 addition & 1 deletion en/hexo-generator-i18n-404/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h1 class="post-title" itemprop="name headline">
</span>
<span class="post-meta-item-text">Posted on</span>

<time title="Created: 2024-05-11 21:34:18" itemprop="dateCreated datePublished" datetime="2024-05-11T21:34:18+08:00">2024-05-11</time>
<time title="Created: 2024-05-11 21:39:15" itemprop="dateCreated datePublished" datetime="2024-05-11T21:39:15+08:00">2024-05-11</time>
</span>


Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h2 class="post-title" itemprop="name headline">
<span class="post-meta-item-text">發表於</span>


<time title="創建時間:2024-05-11 15:45:57 / 修改時間:21:34:10" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
<time title="創建時間:2024-05-11 15:45:57 / 修改時間:21:35:04" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down
2 changes: 0 additions & 2 deletions search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ i18n_404:
</ul>
<span id="more"></span>
<!-- # 基本資訊 -->
<h2 id="啟用-Hexo-多語系"><a href="#啟用-Hexo-多語系" class="headerlink" title="啟用 Hexo 多語系"></a>啟用 Hexo 多語系</h2><p>首先需要先啟用 Hexo 的多語系,在 _config.yml 中找到 <code>language</code>,後在下方新增要啟用的語系</p>
<p>這裡使用 <code>zh-tw</code>、<code>en</code>、<code>zh-CH</code> 為例,可以在使用的 hexo theme 找到支援的語系代號</p>
<figure class="highlight yml"><table><tr><td class="code"><pre><span class="line"><span class="comment"># file: _config.yml</span></span><br><span class="line"><span class="attr">language:</span> </span><br><span class="line"> <span class="bullet">-</span> <span class="string">zh-tw</span> <span class="comment"># 第一個為預設語系</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">en</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">zh-CN</span></span><br></pre></td></tr></table></figure>
Expand Down
2 changes: 1 addition & 1 deletion zh-CN/hexo-generator-i18n-404-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h1 class="post-title" itemprop="name headline">
</span>
<span class="post-meta-item-text">发表于</span>

<time title="创建时间:2024-05-11 21:34:18" itemprop="dateCreated datePublished" datetime="2024-05-11T21:34:18+08:00">2024-05-11</time>
<time title="创建时间:2024-05-11 21:39:15" itemprop="dateCreated datePublished" datetime="2024-05-11T21:39:15+08:00">2024-05-11</time>
</span>


Expand Down
6 changes: 2 additions & 4 deletions zh-CN/hexo-generator-i18n-404/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://blog.ady.tw/images/posts/hexo-generator-i18n-404/i18n-404-demo.gif">
<meta property="article:published_time" content="2024-05-11T07:45:57.000Z">
<meta property="article:modified_time" content="2024-05-11T13:34:10.604Z">
<meta property="article:modified_time" content="2024-05-11T13:35:04.962Z">
<meta property="article:author" content="Eddy Lin">
<meta property="article:tag" content="hexo-generator">
<meta property="article:tag" content="i18n">
Expand Down Expand Up @@ -241,7 +241,7 @@ <h1 class="post-title" itemprop="name headline">
<span class="post-meta-item-text">发表于</span>


<time title="创建时间:2024-05-11 15:45:57 / 修改时间:21:34:10" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
<time title="创建时间:2024-05-11 15:45:57 / 修改时间:21:35:04" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down Expand Up @@ -270,8 +270,6 @@ <h1 class="post-title" itemprop="name headline">
</ul>
<span id="more"></span>

<!-- # 基本資訊 -->

<h2 id="啟用-Hexo-多語系"><a href="#啟用-Hexo-多語系" class="headerlink" title="啟用 Hexo 多語系"></a>啟用 Hexo 多語系</h2><p>首先需要先啟用 Hexo 的多語系,在 _config.yml 中找到 <code>language</code>,後在下方新增要啟用的語系</p>
<p>這裡使用 <code>zh-tw</code><code>en</code><code>zh-CH</code> 為例,可以在使用的 hexo theme 找到支援的語系代號</p>
<figure class="highlight yml"><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></pre></td><td class="code"><pre><span class="line"><span class="comment"># file: _config.yml</span></span><br><span class="line"><span class="attr">language:</span> </span><br><span class="line"> <span class="bullet">-</span> <span class="string">zh-tw</span> <span class="comment"># 第一個為預設語系</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">en</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">zh-CN</span></span><br></pre></td></tr></table></figure>
Expand Down
6 changes: 2 additions & 4 deletions zh-tw/hexo-generator-i18n-404/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<meta property="og:locale" content="zh_TW">
<meta property="og:image" content="https://blog.ady.tw/images/posts/hexo-generator-i18n-404/i18n-404-demo.gif">
<meta property="article:published_time" content="2024-05-11T07:45:57.000Z">
<meta property="article:modified_time" content="2024-05-11T13:34:10.604Z">
<meta property="article:modified_time" content="2024-05-11T13:35:04.962Z">
<meta property="article:author" content="Eddy Lin">
<meta property="article:tag" content="hexo-generator">
<meta property="article:tag" content="i18n">
Expand Down Expand Up @@ -241,7 +241,7 @@ <h1 class="post-title" itemprop="name headline">
<span class="post-meta-item-text">發表於</span>


<time title="創建時間:2024-05-11 15:45:57 / 修改時間:21:34:10" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
<time title="創建時間:2024-05-11 15:45:57 / 修改時間:21:35:04" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down Expand Up @@ -270,8 +270,6 @@ <h1 class="post-title" itemprop="name headline">
</ul>
<span id="more"></span>

<!-- # 基本資訊 -->

<h2 id="啟用-Hexo-多語系"><a href="#啟用-Hexo-多語系" class="headerlink" title="啟用 Hexo 多語系"></a>啟用 Hexo 多語系</h2><p>首先需要先啟用 Hexo 的多語系,在 _config.yml 中找到 <code>language</code>,後在下方新增要啟用的語系</p>
<p>這裡使用 <code>zh-tw</code><code>en</code><code>zh-CH</code> 為例,可以在使用的 hexo theme 找到支援的語系代號</p>
<figure class="highlight yml"><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></pre></td><td class="code"><pre><span class="line"><span class="comment"># file: _config.yml</span></span><br><span class="line"><span class="attr">language:</span> </span><br><span class="line"> <span class="bullet">-</span> <span class="string">zh-tw</span> <span class="comment"># 第一個為預設語系</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">en</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">zh-CN</span></span><br></pre></td></tr></table></figure>
Expand Down
2 changes: 1 addition & 1 deletion zh-tw/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h2 class="post-title" itemprop="name headline">
<span class="post-meta-item-text">發表於</span>


<time title="創建時間:2024-05-11 15:45:57 / 修改時間:21:34:10" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
<time title="創建時間:2024-05-11 15:45:57 / 修改時間:21:35:04" itemprop="dateCreated datePublished" datetime="2024-05-11T15:45:57+08:00">2024-05-11</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down

0 comments on commit 674feb9

Please sign in to comment.