LinkSearchMenuExpandDocument
Table of contents

Jekyll-optional-front-matter

Gem VersionGitHub Pages Supported

Tags: ,,,

MarkdownファイルにFront-matterオプションを追加するJekyllプラグイン

MarkdownファイルにFront-matterオプションを追加するJekyllプラグイン

JekyllはHTMLに変換するために、MarkdownファイルがYAML Front Matter (3つのダッシュの2つのセットで区切られたキー/値のペア) を持っていることを要求します。

このプラグインは、MarkdownファイルにYAML Front MatterがなくてもHTMLの変換対象の ページとして扱わせます。

インストール

  1. Gemfileを編集

    # Gemfile
    group :jekyll_plugins do
      gem 'jekyll-optional-front-matter'
    end
    
  2. _config.ymlを編集

    # _config.yml
    plugins:
      - jekyll-optional-front-matter
    
  3. Pluginのインストール

    bundle
    

ブログ記事

下記に掲載を希望される方はご連絡ください (詳細)

Back to top


Back to top

Copyright © 2021 Otti

Page last modified: