LOADING
348 文字
2 分

トワイライトガイド:はじめに

Guide for Template - Getting Started

翻訳について (未レビュー)

このページはAI翻訳によるもので、不正確な部分がある可能性があります。

翻訳元: 🇬🇧 English (Deepseek)

原文を見る 翻訳に戻る

ヒント:このガイドに記載されていないことについては、Astro Docsで答えが見つかるかもしれません。

投稿のフロントマター

---
title: My First Blog Post
published: 2020-02-02
description: This is the first post of my new Astro blog.
cover: ./cover.jpg
coverInContent: false
tags: []
category: Guides
comment: true
draft: false
translation:
type: "human"
reviewed: true
---
属性説明
title投稿のタイトル。
published投稿が公開された日付。
pinnedこの投稿が投稿一覧の先頭に固定されるかどうか。
description投稿の短い説明。インデックスページに表示されます。
cover投稿のカバー画像パス。
1. http:// または https:// で始まる場合:ウェブ画像
2. / で始まる場合:public ディレクトリ内の画像
3. 上記の接頭辞がない場合:マークダウンファイルからの相対パス
coverInContent投稿コンテンツ内にカバー画像を表示するかどうか。
tags投稿のタグ。
category投稿のカテゴリ。
1. 単一カテゴリ:category: Guides
2. 複数カテゴリ:category: [Guides, Getting Started]
licenseName投稿コンテンツのライセンス名。
author投稿の著者。
sourceLink投稿コンテンツのソースリンクまたは参照。
commentこの投稿のコメントを有効にするかどうか。デフォルトは true
draftこの投稿がまだ下書きの場合、表示されません。

投稿ファイルの配置場所

投稿ファイルは src/content/posts/ ディレクトリに配置する必要があります。サブディレクトリを作成して、投稿やアセットをより整理することもできます。

src/content/posts/
├── post-1.md
└── post-2/
├── cover.jpg
└── index.md

Tip: For the things that are not mentioned in this guide, you may find the answers in the Astro Docs.

Front-matter of Posts

---
title: My First Blog Post
published: 2020-02-02
description: This is the first post of my new Astro blog.
cover: ./cover.jpg
coverInContent: false
tags: []
category: Guides
comment: true
draft: false
translation:
type: "human"
reviewed: true
---
AttributeDescription
titleThe title of the post.
publishedThe date the post was published.
pinnedWhether this post is pinned to the top of the post list.
descriptionA short description of the post. Displayed on index page.
coverThe 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
coverInContentWhether to show the cover image in the post content.
tagsThe tags of the post.
categoryThe category of the post
1. Single category: category: Guides
2. Multi-category: category: [Guides, Getting Started]
licenseNameThe license name for the post content.
authorThe author of the post.
sourceLinkThe source link or reference for the post content.
commentWhether to enable comment for this post. Default is true.
draftIf 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.

src/content/posts/
├── post-1.md
└── post-2/
├── cover.jpg
└── index.md
トワイライトガイド:はじめに
/ja-JP/posts/twilight-guide-getting-started/
Author
MuxBuffer
Published at
2001-10-02
License
CC BY-NC-SA 4.0
AI参加指数 IIIA-0
カテゴリ AI非使用
レベル 0
概要 AIを全く使用していない

This page may not be the latest version.

Profile Image of the Author
MuxBuffer
Muxing life, buffering thoughts.
カテゴリー
Table of Contents