From ec901a9f01f392c74a9fbb583d744a1cc51e228d Mon Sep 17 00:00:00 2001 From: Constant Dupuis Date: Fri, 15 Nov 2019 12:16:55 +0100 Subject: [PATCH 1/3] Update archetypes --- archetypes/default.md | 7 +++++-- archetypes/portfolio.md | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index ac36e06..26f317f 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,2 +1,5 @@ -+++ -+++ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- diff --git a/archetypes/portfolio.md b/archetypes/portfolio.md index 68e6238..670af6a 100644 --- a/archetypes/portfolio.md +++ b/archetypes/portfolio.md @@ -1,5 +1,6 @@ --- -title: "Name of the work 1" +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} draft: true image: "" showonlyimage: false From 668dd2ad3eb5b7074be6dbdb00a161a1b79697e7 Mon Sep 17 00:00:00 2001 From: Constant Dupuis Date: Wed, 8 Jan 2020 17:06:56 +0100 Subject: [PATCH 2/3] Update portfolio archetype --- archetypes/portfolio.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/archetypes/portfolio.md b/archetypes/portfolio.md index 670af6a..6923d6c 100644 --- a/archetypes/portfolio.md +++ b/archetypes/portfolio.md @@ -5,8 +5,11 @@ draft: true image: "" showonlyimage: false categories: ["design"] -keywords: ["key", "words"] -topics: ["topic 1"] tags: ["one", "two"] weight: 1 --- + + + + + From 0f1e615a0704b690c1aaf45e070b9f1e15eef9ea Mon Sep 17 00:00:00 2001 From: Constant Dupuis Date: Thu, 9 Jan 2020 13:03:03 +0100 Subject: [PATCH 3/3] Update contact form Update layouts/contact/list.html to use a formspreeId parameter to setup contact form. --- layouts/contact/list.html | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/layouts/contact/list.html b/layouts/contact/list.html index 72539f2..184e915 100644 --- a/layouts/contact/list.html +++ b/layouts/contact/list.html @@ -15,28 +15,22 @@

{{ .Title }}

{{ .Content }}
- {{ with .Site.Params.email }} -
+ {{ with .Site.Params.formspreeId }} +
- +
- -
-
- - +
- +
- -