From 6623436f9d6f60bea0a4e80666d4e0dc71903131 Mon Sep 17 00:00:00 2001 From: foo-dogsquared Date: Tue, 20 Aug 2019 00:26:37 +0800 Subject: [PATCH] Create the archetypes/templates --- archetypes/default.adoc | 9 +++++++++ archetypes/default.md | 6 ------ archetypes/learning-and-resources.adoc | 16 ++++++++++++++++ archetypes/posts.adoc | 11 +++++++++++ archetypes/projects.adoc | 15 +++++++++++++++ 5 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 archetypes/default.adoc delete mode 100644 archetypes/default.md create mode 100644 archetypes/learning-and-resources.adoc create mode 100644 archetypes/posts.adoc create mode 100644 archetypes/projects.adoc diff --git a/archetypes/default.adoc b/archetypes/default.adoc new file mode 100644 index 0000000..078649c --- /dev/null +++ b/archetypes/default.adoc @@ -0,0 +1,9 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + += {{ replace .Name "-" " " | title }} +Gabriel Arazas +{{ dateFormat "2006-01-02" .Date }} diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/archetypes/learning-and-resources.adoc b/archetypes/learning-and-resources.adoc new file mode 100644 index 0000000..21c1107 --- /dev/null +++ b/archetypes/learning-and-resources.adoc @@ -0,0 +1,16 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + += "{{ replace .Name "-" " " | title }}" +Gabriel Arazas + +== What did I learnt? + +== What tools I want to share? + +== What readings I want to share? + +== Who do I recommend to look out for? diff --git a/archetypes/posts.adoc b/archetypes/posts.adoc new file mode 100644 index 0000000..0157043 --- /dev/null +++ b/archetypes/posts.adoc @@ -0,0 +1,11 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + += {{ replace .Name "-" " " | title }} +Gabriel Arazas +{{ dateFormat "2006-01-02" .Date }} + +:imagesdir: ../images/{{ .File.BaseFileName }}/ diff --git a/archetypes/projects.adoc b/archetypes/projects.adoc new file mode 100644 index 0000000..57e3c44 --- /dev/null +++ b/archetypes/projects.adoc @@ -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