-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 寄稿したい方へ | ||
|
||
`./gen.sh {記事のid}.md` すると `posts/{記事のid}.md` , `posts/{記事のid}/` ができます. | ||
|
||
md ファイルは頭に | ||
|
||
``` | ||
--- | ||
title: | ||
author: | ||
date: | ||
tag: | ||
twitter_id: | ||
github_id: | ||
mail: | ||
ogp_url: | ||
description: | ||
url: | ||
site_name: | ||
twitter_site: | ||
--- | ||
``` | ||
|
||
みたいなのがあります。 url, site_name は触らなくても大丈夫です。 | ||
|
||
あとは適切に設定してください。 | ||
|
||
(`posts/{記事のid}/image.png` は `abap34.com/posts/{記事のid}/image.png` になるのでそこに画像を置いてサムネイルにするといいです) | ||
|
||
`posts/` 以下の md ファイルが main に push されると記事が publish されます。 | ||
|
||
記事が書けたら main に PR を送ってください。 | ||
|