OpenAI | GPT-Image 2.0
241 palabras
1 min
Guía para la plantilla - Introducción
Guide for Template - Getting Started
Aviso de traducción (No revisado)
Esta página fue traducida por IA y puede contener imprecisiones.
Traducido de: 🇬🇧 English (Deepseek)
Ver original Volver a la traducciónConsejo: Para las cosas que no se mencionan en esta guía, puedes encontrar las respuestas en Astro Docs.
Front-matter de las publicaciones
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---| Atributo | Descripción |
|---|---|
title | El título de la publicación. |
published | La fecha en que se publicó la publicación. |
pinned | Si esta publicación está fijada al inicio de la lista de publicaciones. |
description | Una breve descripción de la publicación. Se muestra en la página de inicio. |
cover | La ruta de la imagen de portada de la publicación. 1. Comienza con http:// o https://: Para imagen web 2. Comienza con /: Para imagen en el directorio public 3. Sin ninguno de los prefijos: Relativa al archivo markdown |
coverInContent | Si se muestra la imagen de portada en el contenido de la publicación. |
tags | Las etiquetas de la publicación. |
category | La categoría de la publicación 1. Categoría única: category: Guides 2. Múltiples categorías: category: [Guides, Getting Started] |
licenseName | El nombre de la licencia para el contenido de la publicación. |
author | El autor de la publicación. |
sourceLink | El enlace de origen o referencia para el contenido de la publicación. |
comment | Si se habilita el comentario para esta publicación. El valor predeterminado es true. |
draft | Si esta publicación aún es un borrador, no se mostrará. |
Dónde colocar los archivos de las entradas
Tus archivos de entrada deben colocarse en el directorio src/content/posts/. También puedes crear subdirectorios para organizar mejor tus entradas y recursos.
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 Guía para la plantilla - Introducción
/es-ES/posts/twilight-guide-getting-started/ This page may not be the latest version.