Add: new hero content type (archetype)

feature/oscar-theme
Óscar M. Lage 2022-03-01 00:02:51 +01:00
parent d5a75e4ade
commit f9c906ef51
5 changed files with 38 additions and 0 deletions

8
src/archetypes/hero.md Normal file
View File

@ -0,0 +1,8 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
image:
link:
current: false
---

BIN
src/content/heros/anon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 KiB

View File

@ -0,0 +1,10 @@
---
title: "Hero1"
date: 2022-02-28T22:25:30Z
draft: false
image:
link:
current: false
---
1. Este es el primer texto dinámico del hero

View File

@ -0,0 +1,10 @@
---
title: "Hero2"
date: 2022-02-28T22:25:56Z
draft: false
image:
link:
current: false
---
2. El segundo texto dinámico de nuestro hero particular

View File

@ -0,0 +1,10 @@
---
title: "Hero3"
date: 2022-02-28T22:26:26Z
draft: false
image: anon.png
link: https://twitch.tv/oscarmlage
current: true
---
3. Otro texto más, incluso hasta con foto y para Twitch