1
0
forked from BgLUG/bglug.it

archetipo post (#114)

fix #107

Reviewed-on: BgLUG/bglug.it#114
Reviewed-by: omar <omarl@noreply.libreschool.org>
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-07-15 12:24:40 +00:00 committed by Paolo Asperti
parent bcf2f4256f
commit 32f657d8b7
2 changed files with 32 additions and 0 deletions

View 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
---

View 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
---