Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jnjosh/internet-weblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Johnson <jnjosh@jnjosh.com>2017-11-05 18:47:38 +0300
committerJosh Johnson <jnjosh@jnjosh.com>2017-11-05 18:47:38 +0300
commit0edc6541d0ebc8a52fa4e673e1cee4b634b4efc3 (patch)
treeb87c53cf1fc6b4547c25a534fb0e0233da131989
parent176ed10fe9243e6004f8a7b47097b040c5ac3305 (diff)
Updates archetypes to fix warnings when creating new content
-rw-r--r--archetypes/default.md4
-rw-r--r--archetypes/microposts.md5
-rw-r--r--archetypes/photos.md7
3 files changed, 9 insertions, 7 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index a7aca45..6c74dad 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,4 +1,4 @@
+++
-title = ""
-description = ""
+title = "{{ replace .TranslationBaseName "-" " " | title }}"
+date = "{{ .Date }}"
+++
diff --git a/archetypes/microposts.md b/archetypes/microposts.md
index b8017b7..c89b898 100644
--- a/archetypes/microposts.md
+++ b/archetypes/microposts.md
@@ -1,3 +1,4 @@
+++
-date = ""
-+++
+title = "{{ .Date }}"
+date = "{{ .Date }}"
++++ \ No newline at end of file
diff --git a/archetypes/photos.md b/archetypes/photos.md
index c68ecf8..1df89d0 100644
--- a/archetypes/photos.md
+++ b/archetypes/photos.md
@@ -1,5 +1,6 @@
+++
-date = ""
-title = ""
-location = ""
+title = "{{ replace .TranslationBaseName "-" " " | title }}"
+date = "{{ .Date }}"
+location = "<Enter Location, (e.g. NYC)>"
+camera = "<Enter Camera, (e.g. iPhone X)>"
+++