LOADING
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 traduction
Tip

Pour les éléments non mentionnés dans ce guide, vous trouverez peut-être les réponses dans la Documentation Astro.

Front-matter des Articles

---
title: Mon Premier Article de Blog
published: 2020-02-02
description: Ceci est le premier article de mon nouveau blog Astro.
cover: ./cover.jpg
coverInContent: false
tags: []
category: Guides
comment: true
draft: false
translation:
type: "human"
reviewed: true
---
AttributDescription
titleLe titre de l’article.
publishedLa date de publication de l’article.
pinnedIndique si cet article est épinglé en haut de la liste des articles.
descriptionUne courte description de l’article. Affichée sur la page d’index.
coverLe 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
coverInContentIndique si l’image de couverture doit être affichée dans le contenu de l’article.
tagsLes tags de l’article.
categoryLa catégorie de l’article
1. Catégorie unique : category: Guides
2. Multi-catégories : category: [Guides, Getting Started]
licenseNameLe nom de la licence pour le contenu de l’article.
authorL’auteur de l’article.
sourceLinkLe lien source ou la référence pour le contenu de l’article.
commentIndique si les commentaires sont activés pour cet article. Par défaut true.
draftSi 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.

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
Guide Crépusculaire - Premiers Pas
/fr-FR/posts/twilight-guide-getting-started/
Author
MuxBuffer
Published at
2001-10-02
License
CC BY-NC-SA 4.0
Indice d'implication de l'IA IIIA-0
Catégorie Sans IA
Niveau 0
Description Aucune IA utilisée

This page may not be the latest version.

Profile Image of the Author
MuxBuffer
Muxing life, buffering thoughts.
Catégories
Table of Contents