Create the archetypes/templates

This commit is contained in:
foo-dogsquared 2019-08-20 00:26:37 +08:00
parent b7bba50a0d
commit 6623436f9d
5 changed files with 51 additions and 6 deletions

9
archetypes/default.adoc Normal file
View File

@ -0,0 +1,9 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
= {{ replace .Name "-" " " | title }}
Gabriel Arazas <foo.dogsquared@gmail.com>
{{ dateFormat "2006-01-02" .Date }}

View File

@ -1,6 +0,0 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@ -0,0 +1,16 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
= "{{ replace .Name "-" " " | title }}"
Gabriel Arazas <foo.dogsquared@gmail.com>
== What did I learnt?
== What tools I want to share?
== What readings I want to share?
== Who do I recommend to look out for?

11
archetypes/posts.adoc Normal file
View File

@ -0,0 +1,11 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
= {{ replace .Name "-" " " | title }}
Gabriel Arazas <foo.dogsquared@gmail.com>
{{ dateFormat "2006-01-02" .Date }}
:imagesdir: ../images/{{ .File.BaseFileName }}/

15
archetypes/projects.adoc Normal file
View File

@ -0,0 +1,15 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
= {{ replace .Name "-" " " | title }}
== What is {{ replace .Name "-" " " | title }}?
== Overview
== How it works
== Conclusion