-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkonosaitonogeng-xin-fang-fa.html
executable file
·202 lines (172 loc) · 11 KB
/
konosaitonogeng-xin-fang-fa.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!doctype html>
<html lang="japanese" itemscope itemtype="http://schema.org/Person">
<head>
<meta charset="utf-8">
<!-- Site Meta Data -->
<title>このサイトの更新方法</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="jiuya">
<link rel="shortcut icon" href="https://avatars3.githubusercontent.com/u/6884687?s=460&v=4">
<!-- schema.org -->
<meta itemprop="name" content="Hello Blog">
<meta itemprop="image" content="">
<meta itemprop="description" content="">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
<!-- Style Meta Data -->
<link rel="stylesheet" href="/theme/css/style.css" type="text/css"/>
<link rel="stylesheet" href="/theme/css/pygments.css" type="text/css"/>
<!-- Feed Meta Data -->
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="Hello Blog ATOM Feed"/>
<!-- Twitter Feed -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="jiuya">
<meta name="twitter:image" content="">
<meta name="twitter:creator" content="jiuya">
<meta name="twitter:url" content="/konosaitonogeng-xin-fang-fa.html">
<meta name="twitter:title" content="Hello Blog ~ このサイトの更新方法">
<meta name="twitter:description" content="更新しようとしたら使い方を忘れていたのでメモ 準備 $ pelican-quickstart が行われているものとする。 このリポジトリをクローンする。 $ git clone --recursive -b source https://github.com/jiuya/jiuya.github.io.git 必要なパッケージをインストールする。 $ pip install -r requirements.txt 記事を書く content/ 以下に記事を書きマークダウンで保存する。 Githubにアップロード マークダウン形式のファイルをHTMLファイルに変換する。 変換したファイルをghp-importを使用してGithubにpushする。 $ make html $ ghp-import output $ git push -f origin gh-pages:master (追記) githubにアップロードはMakefileに含まれていた。 $ make html $ make github …">
<!-- Facebook Meta Data -->
<meta property="og:title" content="Hello Blog ~ このサイトの更新方法"/>
<meta property="og:description" content="更新しようとしたら使い方を忘れていたのでメモ 準備 $ pelican-quickstart が行われているものとする。 このリポジトリをクローンする。 $ git clone --recursive -b source https://github.com/jiuya/jiuya.github.io.git 必要なパッケージをインストールする。 $ pip install -r requirements.txt 記事を書く content/ 以下に記事を書きマークダウンで保存する。 Githubにアップロード マークダウン形式のファイルをHTMLファイルに変換する。 変換したファイルをghp-importを使用してGithubにpushする。 $ make html $ ghp-import output $ git push -f origin gh-pages:master (追記) githubにアップロードはMakefileに含まれていた。 $ make html $ make github …"/>
<meta property="og:image" content=""/>
</head>
<body>
<!-- Sidebar -->
<aside>
<!--<center><a href=""><img id="avatar" src=""></a></center>-->
<h1>Hello Blog</h1>
<p>Embedded Programmer</p>
<br>
<a class="twitter-follow-button"
href="https://twitter.com/jiuya"
data-show-count="false"
data-lang="en">
Follow @twitterdev
</a>
<script type="text/javascript">
window.twttr = (function (d, s, id) {
var t, js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
return window.twttr || (t = {
_e: [], ready: function (f) {
t._e.push(f)
}
});
}(document, "script", "twitter-wjs"));
</script>
<nav class="nav">
<ul class="list-bare">
<li><a class="nav__link" href="https://jiuya.github.io">Blog</a></li>
<li><a class="nav__link" href="/pages/about.html">About</a></li>
</ul>
</nav>
<p class="social">
<a href="https://github.com/jiuya" target="_blank"><img
src="/theme/images/icons/github.png"></a>
<a href="https://twitter.com/jiuya" target="_blank"><img
src="/theme/images/icons/twitter.png"></a>
<a href="/feeds/all.atom.xml" rel="alternate">
<img src="/theme/images/icons/rss.png"></a>
</p>
</aside>
<!-- Content -->
<article>
<section id="content">
<article>
<h2 class="post_title post_detail"><a href="/konosaitonogeng-xin-fang-fa.html" rel="bookmark"
title="Permalink to このサイトの更新方法">このサイトの更新方法</a></h2>
<div class="entry-content blog-post">
<h1>更新しようとしたら使い方を忘れていたのでメモ</h1>
<h2>準備</h2>
<ul>
<li><code>$ pelican-quickstart</code> が行われているものとする。</li>
<li>このリポジトリをクローンする。</li>
</ul>
<div class="highlight"><pre><span></span><code>$ git clone --recursive -b <span class="nb">source</span> https://github.com/jiuya/jiuya.github.io.git
</code></pre></div>
<ul>
<li>必要なパッケージをインストールする。</li>
</ul>
<div class="highlight"><pre><span></span><code>$ pip install -r requirements.txt
</code></pre></div>
<h2>記事を書く</h2>
<ul>
<li><code>content/</code> 以下に記事を書きマークダウンで保存する。</li>
</ul>
<h2>Githubにアップロード</h2>
<ul>
<li>マークダウン形式のファイルをHTMLファイルに変換する。</li>
<li>変換したファイルを<strong>ghp-import</strong>を使用してGithubにpushする。</li>
</ul>
<div class="highlight"><pre><span></span><code><span class="err">$</span> <span class="n">make</span> <span class="n">html</span>
<span class="err">$</span> <span class="n">ghp</span><span class="o">-</span><span class="kn">import</span> <span class="nn">output</span>
<span class="err">$</span> <span class="n">git</span> <span class="n">push</span> <span class="o">-</span><span class="n">f</span> <span class="n">origin</span> <span class="n">gh</span><span class="o">-</span><span class="n">pages</span><span class="p">:</span><span class="n">master</span>
</code></pre></div>
<ul>
<li>(追記) githubにアップロードはMakefileに含まれていた。</li>
</ul>
<div class="highlight"><pre><span></span><code>$ make html
$ make github
</code></pre></div>
<p>でも良い。</p>
<h2>参考</h2>
<ul>
<li><a href="https://qiita.com/akimach/items/dfcac164ac5669a6378://kazukousen.github.io/python-pelican-install.html">PelicanとGitHub-pagesでブログ開設</a></li>
<li><a href="https://memo.laughk.org/2014/08/10/tinker2pelican-repo.html">ブログジェネレータをTinkererからPelicanに移行した</a></li>
</ul>
</div>
<div class="post_list">
<span>By </span>
<a href="/author/jiuya.html">@jiuya</a>
<span> in </span>
<span class="post_category"><a href="/category/other.html" rel="bookmark"
title="Permalink to other">[ other ]</a></span>
<span class="post_date">月 09 4月 2018</span>
<div><span>Tags : </span>
</div>
<div class="entry-social">
<span class="twitter"><a target="_blank" rel="nofollow"
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"
title="Twitter"
href="https://twitter.com/share?url=/konosaitonogeng-xin-fang-fa.html&text=このサイトの更新方法&via=jiuya"><img
src="/theme/images/icons/twitter-s.png"></a></span>
<span class="gplus"><a target="_blank" title="Google +"
href="https://plus.google.com/share?url=/konosaitonogeng-xin-fang-fa.html&hl=fr"
rel="nofollow"
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><img
src="/theme/images/icons/google-s.png"></a></span>
<span class="facebook"><a target="_blank" title="Facebook" rel="nofollow"
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"
href="https://www.facebook.com/sharer.php?u=/konosaitonogeng-xin-fang-fa.html&t=このサイトの更新方法"><img
src="/theme/images/icons/facebook-s.png"></a></span>
<a target="_blank" title="Linkedin"
href="https://www.linkedin.com/shareArticle?mini=true&url=/konosaitonogeng-xin-fang-fa.html&title=このサイトの更新方法"
rel="nofollow"
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><img
src="/theme/images/icons/linkedin-s.png"></a>
<span class="mail"><a
href="mailto:?subject=このサイトの更新方法&body=Viens découvrir un article à propos de [このサイトの更新方法] sur le site de jiuya. /konosaitonogeng-xin-fang-fa.html"
title="Share by Email" target="_blank"><img
src="/theme/images/icons/mail-s.png"></a></span>
</div>
</div>
</article>
</section>
</article>
<!-- Footer -->
<footer>
<p>
Blog powered by <a href="http://getpelican.com/">Pelican</a>,
which takes great advantage of <a href="http://python.org">Python</a>.
Theme <a href="https://github.com/parbhat/pelican-blue">Pelican-Blue</a> by <a
href="https://parbhatpuri.com/">@parbhat</a>.
</p>
</footer>
</body>
</html>