Skip to content

YAML Front Matter の設定値を解析してタイトルやタグの読み出しに使う #39

Description

@amay077

現状

現状は、以下が前提となっている。

templateKey: blog-post
title: xxx
date: xxx
tags: [xxx, xxx]
  • title - タイトル
  • date - 投稿日時
  • tags - タグ群

こうしたい

templateKey: blog-post
my_title: {{title}}
post_at: {{date}}
categories: {{tags}}
  • プレースホルダ {{title}} がある行をタイトルとして使用する
  • {{date}}, {{tags}} も同様

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions