Skip to content
This repository was archived by the owner on Sep 5, 2021. It is now read-only.

Commit cf4ab97

Browse files
authored
[Add]: READMEにコピペ用テンプレ PR:#1
[Update]: READMEにコピペ用コードを挿入
2 parents 988383a + 9c35cda commit cf4ab97

File tree

1 file changed

+56
-16
lines changed

1 file changed

+56
-16
lines changed

README.md

+56-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,56 @@
1-
<h1>ライセンス</h1>
2-
<p>
3-
このブログは<img src="https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png">でライセンスされていますが、Apache Licence 2.0でライセンスされている部分もあります。<br>
4-
</p>
5-
<h1>記事の書き方</h1>
6-
<p>
7-
記事の書き方です。<br>
8-
まず、gh-pagesブランチの中の_postsディレクトリの中に、<br>
9-
yyyy-mm-dd-タイトル.md<br>
10-
という名前のファイルを作ります。
11-
そしたら、中に<br>
12-
<a href="https://gist.githubusercontent.com/okaits/5cd3c2155e5e9bb7ad611153fe9facea/raw/6ff4266167c3520b7a73122d9c8f62f34cf69818/Blog%2520header.md">Header</a><br>
13-
このコードを入れます。<br>
14-
そうして、その後に<b>HTMLで</b>本文を書き始めてください。(brタグを忘れないようにする。)<br>
15-
本文を書き終えたら、PRを作成してください。(直接CommitもOK)<br>
16-
</p>
1+
# ライセンス
2+
このブログは
3+
<img src="https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png">
4+
でライセンスされていますが、Apache Licence 2.0でライセンスされている部分もあります。
5+
6+
7+
## 記事の書き方
8+
記事の書き方です。
9+
まず、gh-pagesブランチの中の_postsディレクトリの中に、
10+
**yyyy-mm-dd-タイトル.md**
11+
という名前のファイルを作ります。
12+
そしたら、中に
13+
一番下に記述したコードを入れます。
14+
そうして、その後に<b>HTMLで</b>本文を書き始めてください。(brタグを忘れないようにする。)
15+
本文を書き終えたら、PRを作成してください。(直接CommitもOK)
16+
17+
### テンプレートコード
18+
```md
19+
20+
---
21+
layout: post
22+
title: ブログのタイトル
23+
categories: ブログのカテゴリ(ない場合この行は省略可能)
24+
image: 記事の画像(ない場合この行は省略可能)
25+
highlight: false
26+
disqus: true
27+
author: 記事を書いた人のDiscordユーザー名とタグ(例:okaits#7534)
28+
---
29+
<!-- EthereumAds -->
30+
<div id="EthereumAds-linuxcodevblog"></div>
31+
<script src="https://ethereumads.com/adviewer.js">
32+
</script>
33+
<script>
34+
EthereumAds.initAdSlot({
35+
acceptedCurrencies: ["ALL"], // option ALL for all whitelisted tokens, ETH for Ethereum, DAI for DAI Stablecoin
36+
//validatorEndpoint:"", // optional custom validator
37+
mediaType: "image_320x50",
38+
fallback: "default", // default, none, custom url
39+
slot: "linuxcodevblog",
40+
address: "0xd404f198c4f580727eb11cd69b581d5f10c7efd9",
41+
platform: "",
42+
affiliate: "",
43+
keywords:"", //comma separatedy
44+
adult: false,
45+
version: "1.00"
46+
});
47+
/*
48+
for responsive ads add and adjust this according to your needs:
49+
responsive: [
50+
{ mediaType: "image_728x90", minWidth: 728 },
51+
{ mediaType: "image_300x600" }
52+
],
53+
*/
54+
</script>
55+
<!-- /EthereumAds -->
56+
```

0 commit comments

Comments
 (0)