LOADING
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ón

Consejo: Para las cosas que no se mencionan en esta guía, puedes encontrar las respuestas en Astro Docs.

Front-matter de las publicaciones

---
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
---
AtributoDescripción
titleEl título de la publicación.
publishedLa fecha en que se publicó la publicación.
pinnedSi esta publicación está fijada al inicio de la lista de publicaciones.
descriptionUna breve descripción de la publicación. Se muestra en la página de inicio.
coverLa 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
coverInContentSi se muestra la imagen de portada en el contenido de la publicación.
tagsLas etiquetas de la publicación.
categoryLa categoría de la publicación
1. Categoría única: category: Guides
2. Múltiples categorías: category: [Guides, Getting Started]
licenseNameEl nombre de la licencia para el contenido de la publicación.
authorEl autor de la publicación.
sourceLinkEl enlace de origen o referencia para el contenido de la publicación.
commentSi se habilita el comentario para esta publicación. El valor predeterminado es true.
draftSi 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.

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
Guía para la plantilla - Introducción
/es-ES/posts/twilight-guide-getting-started/
Author
MuxBuffer
Published at
2001-10-02
License
CC BY-NC-SA 4.0
Índice de participación de IA IIIA-0
Categoría Sin IA
Nivel 0
Descripción Sin uso de IA

This page may not be the latest version.

Profile Image of the Author
MuxBuffer
Muxing life, buffering thoughts.
Categorías
Table of Contents