Skip to content

Commit e0829e9

Browse files
committed
Site updated at 2022-05-06 00:52:51 UTC
1 parent d6a3d57 commit e0829e9

File tree

46 files changed

+83
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+83
-81
lines changed

atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

blog/2015/12/11/how-to-install-octopress/index.html

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<meta name="author" content="LeonJi">
1010

1111

12-
<meta name="description" content="最近想說要開始來寫blog,於是在網路上找了幾個之後,最後決定使用Octopress。 使用 Markdown 語法,比起網路上的編輯器更加方便 (對寫coding而言拉
12+
<meta name="description" content="最近想說要開始來寫 blog,於是在網路上找了幾個之後,最後決定使用 Octopress。 使用 Markdown 語法,比起網路上的編輯器更加方便 (對寫 coding 而言拉
1313
直接放在 Github 上,完全不需費用。
14-
可以用git來做版本控制,即使網路上的消失,本機還是可以做保留。 &hellip;">
14+
可以用 git 來做版本控制,即使網路上的消失,本機還是可以做保留。 &hellip;">
1515

1616

1717
<!-- http://t.co/dKP3o1e -->
@@ -128,13 +128,13 @@ <h1 class="entry-title">用 Octopress + Github Pages 來架設 Blog</h1>
128128
</header>
129129

130130

131-
<div class="entry-content"><p>最近想說要開始來寫blog,於是在網路上找了幾個之後,最後決定使用Octopress</p>
131+
<div class="entry-content"><p>最近想說要開始來寫 blog,於是在網路上找了幾個之後,最後決定使用 Octopress</p>
132132

133133
<ol>
134-
<li>使用 Markdown 語法,比起網路上的編輯器更加方便 (對寫coding而言拉</li>
134+
<li>使用 Markdown 語法,比起網路上的編輯器更加方便 (對寫 coding 而言拉</li>
135135
<li>直接放在 Github 上,完全不需費用。</li>
136-
<li>可以用git來做版本控制,即使網路上的消失,本機還是可以做保留。</li>
137-
<li>一開始雖然比一般blog更加挑戰性(因為全部都要自己安裝XD),不過也藉此訓練自己。</li>
136+
<li>可以用 git 來做版本控制,即使網路上的消失,本機還是可以做保留。</li>
137+
<li>一開始雖然比一般 blog 更加挑戰性(因為全部都要自己安裝 XD),不過也藉此訓練自己。</li>
138138
</ol>
139139

140140

@@ -160,7 +160,7 @@ <h1>開新的 Github Repository</h1>
160160
<blockquote><p>像筆者帳號是 mgleon08 就輸入 mgleon08.github.com
161161
之後網址就是 <a href="http://mgleon08.github.io/">http://mgleon08.github.io/</a></p></blockquote>
162162

163-
<h1>佈署到Github上</h1>
163+
<h1>佈署到 Github 上</h1>
164164

165165
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
166166
<span class='line-number'>2</span>
@@ -170,12 +170,12 @@ <h1>佈署到Github上</h1>
170170
</span><span class='line'>rake deploy</span></code></pre></td></tr></table></div></figure>
171171

172172

173-
<p><code>rake setup_github_pages</code> 將branch從master切換到source
173+
<p><code>rake setup_github_pages</code> 將 branch 從 master 切換到 source
174174
<a href="http://octopress.org/docs/deploying/github/">官方說明</a>
175-
<code>rake generate</code> 產生靜態html檔案
176-
<code>rake deploy</code> 部署到github</p>
175+
<code>rake generate</code> 產生靜態 html 檔案
176+
<code>rake deploy</code> 部署到 github</p>
177177

178-
<h1>Push到Github</h1>
178+
<h1>Push 到 Github</h1>
179179

180180
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
181181
<span class='line-number'>2</span>
@@ -198,7 +198,7 @@ <h1>更換主題</h1>
198198
<p>本站使用的主題 <a href="https://github.com/lucaslew/whitespace">whitespace</a>
199199
其他主題 <a href="https://github.com/imathis/octopress/wiki/3rd-Party-Octopress-Themes">other</a></p>
200200

201-
<p>clone下來後</p>
201+
<p>clone 下來後</p>
202202

203203
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
204204
<span class='line-number'>2</span>
@@ -208,7 +208,7 @@ <h1>更換主題</h1>
208208

209209
<h1>基本網站設定</h1>
210210

211-
<p>設定主要都在 <code>_config.yml</code>,可以更改網站標題,作者名稱,還可以加入facebook按讚,DISQUS回覆等功能
211+
<p>設定主要都在 <code>_config.yml</code>,可以更改網站標題,作者名稱,還可以加入 facebook 按讚,DISQUS 回覆等功能
212212
修改後要記得 <code>rake generate</code> 才會有效</p>
213213

214214
<h1>新的頁面</h1>
@@ -225,11 +225,11 @@ <h1>撰寫文章</h1>
225225
</pre></td><td class='code'><pre><code class=''><span class='line'>rake new_post["title"]</span></code></pre></td></tr></table></div></figure>
226226

227227

228-
<p>Octopress會幫你產生新的檔案 <code>2015-12-11-title.markdown</code> 到source/_posts/下面,有發現後面是用markdown嗎?</p>
228+
<p>Octopress 會幫你產生新的檔案 <code>2015-12-11-title.markdown</code> 到 source/_posts/下面,有發現後面是用 markdown 嗎?</p>
229229

230230
<p>沒錯,Octopress 主要是用 Markdown 語法來撰寫,筆者是使用 <a href="http://macdown.uranusjr.com/">MacDown</a> 這套來做編輯(蠻多人是推薦另外一個 <a href="http://25.io/mou/">mou</a></p>
231231

232-
<blockquote><p>對Markdown語法還不了解的可以到 <a href="http://markdown.tw/">Markdown.tw</a> 看看</p></blockquote>
232+
<blockquote><p>對 Markdown 語法還不了解的可以到 <a href="http://markdown.tw/">Markdown.tw</a> 看看</p></blockquote>
233233

234234
<h1>發表文章</h1>
235235

@@ -238,13 +238,14 @@ <h1>發表文章</h1>
238238
<li>確認先 <code>rake generate</code></li>
239239
<li><code>rake deploy</code> 這樣網路上的就會更新了</li>
240240
<li>記得最後還是要 <code>git push</code> 到 Github</li>
241+
<li>(目前使用 ruby 2.4.6)</li>
241242
</ul>
242243

243244

244245
<p>這樣就可以開始寫文章囉~</p>
245246

246247
<ul>
247-
<li><a href="http://octopress.org/docs/blogging/">octopress官方網站</a></li>
248+
<li><a href="http://octopress.org/docs/blogging/">octopress 官方網站</a></li>
248249
<li><a href="http://shengmingzhiqing.com/blog/octopress-tutorials-toc.html/">Octopress 課程目錄</a></li>
249250
</ul>
250251

blog/2015/12/14/ssh-no-password/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ <h3>Step 3.</h3>
215215
</span></code></pre></td></tr></table></div></figure>
216216

217217

218-
<p>接著就可以在 (本機) 直接 ssh <a href="&#x6d;&#97;&#105;&#x6c;&#x74;&#x6f;&#x3a;&#100;&#101;&#112;&#x6c;&#x6f;&#121;&#x40;&#49;&#x32;&#x33;&#46;&#x31;&#x32;&#51;&#x2e;&#x31;&#50;&#x2e;&#x31;">&#100;&#101;&#112;&#108;&#x6f;&#x79;&#x40;&#x31;&#50;&#51;&#x2e;&#49;&#50;&#x33;&#46;&#x31;&#50;&#x2e;&#49;</a> 就連進去囉!!</p>
218+
<p>接著就可以在 (本機) 直接 ssh <a href="&#109;&#x61;&#x69;&#108;&#116;&#111;&#x3a;&#x64;&#101;&#x70;&#x6c;&#x6f;&#121;&#x40;&#x31;&#x32;&#51;&#x2e;&#x31;&#50;&#51;&#x2e;&#49;&#50;&#x2e;&#49;">&#x64;&#101;&#x70;&#108;&#x6f;&#x79;&#x40;&#49;&#50;&#x33;&#46;&#x31;&#50;&#51;&#46;&#x31;&#50;&#46;&#49;</a> 就連進去囉!!</p>
219219

220220
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
221221
<span class='line-number'>2</span>

blog/categories/angular/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Angular | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/angular/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

blog/categories/api/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Api | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/api/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

blog/categories/backend/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Backend | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/backend/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

blog/categories/blog/atom.xml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Blog | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/blog/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>
@@ -18,13 +18,13 @@
1818
<link href="https://mgleon08.github.io/blog/2015/12/11/how-to-install-octopress/"/>
1919
<updated>2015-12-11T23:15:37+08:00</updated>
2020
<id>https://mgleon08.github.io/blog/2015/12/11/how-to-install-octopress</id>
21-
<content type="html"><![CDATA[<p>最近想說要開始來寫blog,於是在網路上找了幾個之後,最後決定使用Octopress。</p>
21+
<content type="html"><![CDATA[<p>最近想說要開始來寫 blog,於是在網路上找了幾個之後,最後決定使用 Octopress。</p>
2222
2323
<ol>
24-
<li>使用 Markdown 語法,比起網路上的編輯器更加方便 (對寫coding而言拉。</li>
24+
<li>使用 Markdown 語法,比起網路上的編輯器更加方便 (對寫 coding 而言拉。</li>
2525
<li>直接放在 Github 上,完全不需費用。</li>
26-
<li>可以用git來做版本控制,即使網路上的消失,本機還是可以做保留。</li>
27-
<li>一開始雖然比一般blog更加挑戰性(因為全部都要自己安裝XD),不過也藉此訓練自己。</li>
26+
<li>可以用 git 來做版本控制,即使網路上的消失,本機還是可以做保留。</li>
27+
<li>一開始雖然比一般 blog 更加挑戰性(因為全部都要自己安裝 XD),不過也藉此訓練自己。</li>
2828
</ol>
2929
3030
@@ -47,19 +47,19 @@ bundle install
4747
<blockquote><p>像筆者帳號是 mgleon08 就輸入 mgleon08.github.com
4848
之後網址就是 <a href="http://mgleon08.github.io/">http://mgleon08.github.io/</a></p></blockquote>
4949
50-
<h1>佈署到Github上</h1>
50+
<h1>佈署到 Github 上</h1>
5151
5252
<pre><code>rake setup_github_pages # 之後輸入 [email protected]:mgleon08/mgleon08.github.com.git
5353
rake generate
5454
rake deploy
5555
</code></pre>
5656
57-
<p><code>rake setup_github_pages</code> 將branch從master切換到source
57+
<p><code>rake setup_github_pages</code> 將 branch 從 master 切換到 source
5858
<a href="http://octopress.org/docs/deploying/github/">官方說明</a>
59-
<code>rake generate</code> 產生靜態html檔案
60-
<code>rake deploy</code> 部署到github</p>
59+
<code>rake generate</code> 產生靜態 html 檔案
60+
<code>rake deploy</code> 部署到 github</p>
6161
62-
<h1>Push到Github</h1>
62+
<h1>Push 到 Github</h1>
6363
6464
<pre><code>git add .
6565
git commit -m "first commit"
@@ -78,15 +78,15 @@ git push origin source
7878
<p>本站使用的主題 <a href="https://github.com/lucaslew/whitespace">whitespace</a>
7979
其他主題 <a href="https://github.com/imathis/octopress/wiki/3rd-Party-Octopress-Themes">other</a></p>
8080
81-
<p>clone下來後
82-
<code>
83-
rake install['主題名稱'] # for zsh, use: rake install\['主題名稱'\]
81+
<p>clone 下來後</p>
82+
83+
<pre><code>rake install['主題名稱'] # for zsh, use: rake install\['主題名稱'\]
8484
rake generate
85-
</code></p>
85+
</code></pre>
8686
8787
<h1>基本網站設定</h1>
8888
89-
<p>設定主要都在 <code>_config.yml</code>,可以更改網站標題,作者名稱,還可以加入facebook按讚,DISQUS回覆等功能
89+
<p>設定主要都在 <code>_config.yml</code>,可以更改網站標題,作者名稱,還可以加入 facebook 按讚,DISQUS 回覆等功能
9090
修改後要記得 <code>rake generate</code> 才會有效</p>
9191
9292
<h1>新的頁面</h1>
@@ -101,11 +101,11 @@ rake generate
101101
<pre><code>rake new_post["title"]
102102
</code></pre>
103103
104-
<p>Octopress會幫你產生新的檔案 <code>2015-12-11-title.markdown</code> 到source/_posts/下面,有發現後面是用markdown嗎?</p>
104+
<p>Octopress 會幫你產生新的檔案 <code>2015-12-11-title.markdown</code> 到 source/_posts/下面,有發現後面是用 markdown 嗎?</p>
105105
106106
<p>沒錯,Octopress 主要是用 Markdown 語法來撰寫,筆者是使用 <a href="http://macdown.uranusjr.com/">MacDown</a> 這套來做編輯(蠻多人是推薦另外一個 <a href="http://25.io/mou/">mou</a></p>
107107
108-
<blockquote><p>對Markdown語法還不了解的可以到 <a href="http://markdown.tw/">Markdown.tw</a> 看看</p></blockquote>
108+
<blockquote><p>對 Markdown 語法還不了解的可以到 <a href="http://markdown.tw/">Markdown.tw</a> 看看</p></blockquote>
109109
110110
<h1>發表文章</h1>
111111
@@ -114,13 +114,14 @@ rake generate
114114
<li>確認先 <code>rake generate</code></li>
115115
<li>再 <code>rake deploy</code> 這樣網路上的就會更新了</li>
116116
<li>記得最後還是要 <code>git push</code> 到 Github</li>
117+
<li>(目前使用 ruby 2.4.6)</li>
117118
</ul>
118119
119120
120121
<p>這樣就可以開始寫文章囉~</p>
121122
122123
<ul>
123-
<li><a href="http://octopress.org/docs/blogging/">octopress官方網站</a></li>
124+
<li><a href="http://octopress.org/docs/blogging/">octopress 官方網站</a></li>
124125
<li><a href="http://shengmingzhiqing.com/blog/octopress-tutorials-toc.html/">Octopress 課程目錄</a></li>
125126
</ul>
126127

blog/categories/cdn/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Cdn | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/cdn/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

blog/categories/ci/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Ci | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/ci/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

blog/categories/command-line/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Command_line | Leon's Blogging]]></title>
55
<link href="https://mgleon08.github.io/blog/categories/command-line/atom.xml" rel="self"/>
66
<link href="https://mgleon08.github.io/"/>
7-
<updated>2022-05-05T19:24:19+08:00</updated>
7+
<updated>2022-05-06T08:52:34+08:00</updated>
88
<id>https://mgleon08.github.io/</id>
99
<author>
1010
<name><![CDATA[LeonJi]]></name>

0 commit comments

Comments
 (0)