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

github.com/jmablog/hugo-clinic-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'archetypes/default.md')
-rw-r--r--archetypes/default.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..f68df77
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,13 @@
+---
+patient: "{{ .Dir | path.Base | humanize | title }}"
+type: "follow-up"
+date: {{ substr .Name 0 10 }}
+toc: false
+---
+
+# {{ substr .Name 11 -10 | humanize | title }}
+
+**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}
+
+## Notes:
+