archetipo post
This commit is contained in:
parent
bcf2f4256f
commit
68508c735b
16
archetypes/post/index.en.md
Normal file
16
archetypes/post/index.en.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
#expiryDate: # set this if the post should be removed automatically some time in the future
|
||||||
|
#publishDate: # set this if the post should be published automatically some time in the future
|
||||||
|
draft: true
|
||||||
|
slug: "{{ .Name | lower }}"
|
||||||
|
type: post
|
||||||
|
image: image.png # if you don't specify an image, the first available is used
|
||||||
|
image_alt: description of the featured image. The image ratio should be 360x250.
|
||||||
|
summary: If not present, the content will be used instead
|
||||||
|
tags:
|
||||||
|
- news
|
||||||
|
categories:
|
||||||
|
- News
|
||||||
|
---
|
16
archetypes/post/index.it.md
Normal file
16
archetypes/post/index.it.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
#expiryDate: # impostare se il post deve essere rimosso automaticamente nel futuro
|
||||||
|
#publishDate: # impostare se il post deve essere pubblicato automaticamente nel futuro
|
||||||
|
draft: true
|
||||||
|
slug: "{{ .Name | lower }}"
|
||||||
|
type: post
|
||||||
|
image: image.png # se non metti un'immagine, viene presa la prima immagine del post
|
||||||
|
image_alt: "Descrizione dell'immagine. Il ratio dell'immagine deve essere 360x250."
|
||||||
|
summary: Se non presente, usa il testo dell'articolo
|
||||||
|
tags:
|
||||||
|
- news
|
||||||
|
categories:
|
||||||
|
- News
|
||||||
|
---
|
Loading…
x
Reference in New Issue
Block a user