サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Nintendo Direct
middlemanapp.com
If you already have a Middleman project, you can re-run middleman init with the blog template option to generate the sample index.html, tag.html, calendar.html, and feed.xml, or you can write those yourself. You can see what gets generated on GitHub. The blog extension has many configuration options - you can see what they all are and what they do by going to http://localhost:4567/__middleman/conf
すでに Middleman のプロジェクトがある場合,サンプルの index.html, tag.html, calendar.html や feed.xml, を作る必要があるため, blog テンプレートオプションとともに Middleman init を 再実行するか, 自分でファイルを作ってください。何が作られるか は GitHub で確認できます。 ブログ拡張にはたくさんの設定オプションがあります。プレビューサーバを起動し http://localhost:4567/__middleman/config/ にアクセスするとすべてのオプションが 確認できます。 記事 Middleman 自体がそうであるように, ブログ拡張は個別ファイルにフォーカスしています。 それぞれの記事はファイルごとに好きなテンプレート言語を使用できます。 記事のデフォルトのファイル名構造は {year}-{
Middleman は RubyGems のパッケージマネージャを使って配布されます。 つまり Middleman を使うには Ruby のランタイムと RubyGems の両方が 必要だということです。 macOS には Ruby と RubyGems の両方がパッケージされていますが, Middleman の 依存ライブラリの一部はインストール時にコンパイルする必要があります。macOS では コンパイルに Xcode の Command Line Tools が必要です。Xcode がインストール されている場合 Terminal から実行してください:
インストール gem をインストールし, 新たに Middleman を使ったサイトを作成するために CLI から middleman init my_project を実行します。 インストール方法を参照する サイトのカスタマイズ cd my_project してください。 Middleman は細かい設定なしに動作します。各ディレクトリの意味や サイトのカスタマイズの行い方を理解するためにドキュメントを読んでください。 カスタマイズ方法を参照する
Installation Install the gem and run middleman init my_project to create a new Middleman site from the command line. See full install instructions Customize Your Site Check out the directory cd my_project. Middleman works right out of the box. Start reading the docs to find out what each directory is doing and how to customize your site. See advanced customizations Build and Deploy Running one com
このページを最初にブックマークしてみませんか?
『Middleman: Hand-crafted frontend development』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く