From 32f657d8b77359f9c991bcf2bb4a739a31c15d5f Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 15 Jul 2024 12:24:40 +0000 Subject: [PATCH] archetipo post (#114) fix #107 Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/114 Reviewed-by: omar Co-authored-by: paspo Co-committed-by: paspo --- archetypes/post/index.en.md | 16 ++++++++++++++++ archetypes/post/index.it.md | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 archetypes/post/index.en.md create mode 100644 archetypes/post/index.it.md diff --git a/archetypes/post/index.en.md b/archetypes/post/index.en.md new file mode 100644 index 0000000..ff5ca85 --- /dev/null +++ b/archetypes/post/index.en.md @@ -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 +--- diff --git a/archetypes/post/index.it.md b/archetypes/post/index.it.md new file mode 100644 index 0000000..a8ed7c9 --- /dev/null +++ b/archetypes/post/index.it.md @@ -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 +---