LoginSignup
9
1

More than 3 years have passed since last update.

構築したSerumでリンク先の追加と記事投稿をする方法

Last updated at Posted at 2019-12-01

前回 Serumの環境構築を書いたので
今回はその後のリンクページ追加と投稿方法について解説します。

そういえば最近Serum v1.3.0 がリリースされたようです。
https://twitter.com/d57pub_/status/1199884140755091456
https://twitter.com/d57pub_/status/1199694257239420933

投稿方法

$ mix serum.gen.post -t {title} -o {file_name} -g {tag}
  • {title}, {file_name}, {tag}のところはそれぞれ任意のタイトル、ファイル名(testPostでつけると2019-12-01-testPost.mdになります)タグ名を入れて下さい。
  • タグ名は入れてなくても投稿は可能

リンクページを追加

mix serum.gen.page -t {title} -o {file_name}.md 
  • {title}と{file_name}と記述したところは任意のタイトルとファイル名をつけて下さい。
  • 拡張子は.md, .html, .html.eexが使用できます。
  • リンクの表示方法は後日追記します。

構築さえできればリンクページ、投稿は簡単に行えます。
是非試してみて下さい。

参照先
https://dalgona.github.io/Serum/docs/mix-tasks.html#serum.gen.page

9
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
1