OpenAI | GPT-Image 2.0
233 mots
1 min
Guide Crépusculaire - Premiers Pas
Guide for Template - Getting Started
Avis de traduction (Non révisé)
Cette page a été traduite par IA et peut contenir des inexactitudes.
Traduit de: 🇬🇧 English (Deepseek)
Voir l'original Retour à la traductionTipPour les éléments non mentionnés dans ce guide, vous trouverez peut-être les réponses dans la Documentation Astro.
Front-matter des Articles
1---2title: Mon Premier Article de Blog3published: 2020-02-024description: Ceci est le premier article de mon nouveau blog Astro.5cover: ./cover.jpg6coverInContent: false7tags: []8category: Guides9comment: true10draft: false11translation:12 type: "human"13 reviewed: true14---| Attribut | Description |
|---|---|
title | Le titre de l’article. |
published | La date de publication de l’article. |
pinned | Indique si cet article est épinglé en haut de la liste des articles. |
description | Une courte description de l’article. Affichée sur la page d’index. |
cover | Le chemin de l’image de couverture de l’article. 1. Commence par http:// ou https:// : Pour une image web 2. Commence par / : Pour une image dans le dossier public 3. Sans aucun préfixe : Relatif au fichier markdown |
coverInContent | Indique si l’image de couverture doit être affichée dans le contenu de l’article. |
tags | Les tags de l’article. |
category | La catégorie de l’article 1. Catégorie unique : category: Guides 2. Multi-catégories : category: [Guides, Getting Started] |
licenseName | Le nom de la licence pour le contenu de l’article. |
author | L’auteur de l’article. |
sourceLink | Le lien source ou la référence pour le contenu de l’article. |
comment | Indique si les commentaires sont activés pour cet article. Par défaut true. |
draft | Si cet article est encore un brouillon, il ne sera pas affiché. |
Où Placer les Fichiers des Articles
Vos fichiers d’articles doivent être placés dans le répertoire src/content/posts/. Vous pouvez également créer des sous-répertoires pour mieux organiser vos articles et ressources.
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 Guide Crépusculaire - Premiers Pas
/fr-FR/posts/twilight-guide-getting-started/ This page may not be the latest version.