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/other/index.md')
-rw-r--r--archetypes/other/index.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/archetypes/other/index.md b/archetypes/other/index.md
new file mode 100644
index 0000000..bc51762
--- /dev/null
+++ b/archetypes/other/index.md
@@ -0,0 +1,15 @@
+---
+patient: "{{ .Dir | path.Dir | path.Dir | path.Base | humanize | title }}"
+type: "other"
+description: {{ $string := split .Name "-" }}{{ $description := index $string 5 }}"{{ $description | humanize | title }}"
+date: {{ substr .Name 0 10 }}
+toc: false
+---
+
+# {{ .Dir | path.Dir | path.Dir| path.Base | humanize | title }}
+
+**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}
+
+## {{ $description | humanize | title }}
+
+Insert here.