OpenAI | GPT-Image 2.0
348 文字
2 分
トワイライトガイド:はじめに
Guide for Template - Getting Started
ヒント:このガイドに記載されていないことについては、Astro Docsで答えが見つかるかもしれません。
投稿のフロントマター
1---2title: My First Blog Post3published: 2020-02-024description: This is the first post of my new Astro blog.5cover: ./cover.jpg6coverInContent: false7tags: []8category: Guides9comment: true10draft: false11translation:12 type: "human"13 reviewed: true14---| 属性 | 説明 |
|---|---|
title | 投稿のタイトル。 |
published | 投稿が公開された日付。 |
pinned | この投稿が投稿一覧の先頭に固定されるかどうか。 |
description | 投稿の短い説明。インデックスページに表示されます。 |
cover | 投稿のカバー画像パス。 1. http:// または https:// で始まる場合:ウェブ画像2. / で始まる場合:public ディレクトリ内の画像3. 上記の接頭辞がない場合:マークダウンファイルからの相対パス |
coverInContent | 投稿コンテンツ内にカバー画像を表示するかどうか。 |
tags | 投稿のタグ。 |
category | 投稿のカテゴリ。 1. 単一カテゴリ: category: Guides2. 複数カテゴリ: category: [Guides, Getting Started] |
licenseName | 投稿コンテンツのライセンス名。 |
author | 投稿の著者。 |
sourceLink | 投稿コンテンツのソースリンクまたは参照。 |
comment | この投稿のコメントを有効にするかどうか。デフォルトは true。 |
draft | この投稿がまだ下書きの場合、表示されません。 |
投稿ファイルの配置場所
投稿ファイルは src/content/posts/ ディレクトリに配置する必要があります。サブディレクトリを作成して、投稿やアセットをより整理することもできます。
1src/content/posts/2├── post-1.md3└── post-2/4 ├── cover.jpg5 └── index.mdTip: For the things that are not mentioned in this guide, you may find the answers in the Astro Docs.
Front-matter of Posts
1---2title: My First Blog Post3published: 2020-02-024description: This is the first post of my new Astro blog.5cover: ./cover.jpg6coverInContent: false7tags: []8category: Guides9comment: true10draft: false11translation:12 type: "human"13 reviewed: true14---| Attribute | Description |
|---|---|
title | The title of the post. |
published | The date the post was published. |
pinned | Whether this post is pinned to the top of the post list. |
description | A short description of the post. Displayed on index page. |
cover | The cover image path of the post. 1. Start with http:// or https://: For web image 2. Start with /: For image in public dir 3. With none of the prefixes: Relative to the markdown file |
coverInContent | Whether to show the cover image in the post content. |
tags | The tags of the post. |
category | The category of the post 1. Single category: category: Guides 2. Multi-category: category: [Guides, Getting Started] |
licenseName | The license name for the post content. |
author | The author of the post. |
sourceLink | The source link or reference for the post content. |
comment | Whether to enable comment for this post. Default is true. |
draft | If this post is still a draft, which won’t be displayed. |
Where to Place the Post Files
Your post files should be placed in src/content/posts/ directory. You can also create sub-directories to better organize your posts and assets.
1src/content/posts/2├── post-1.md3└── post-2/4 ├── cover.jpg5 └── index.md トワイライトガイド:はじめに
/ja-JP/posts/twilight-guide-getting-started/ This page may not be the latest version.