From d26ecb989f5e5b9e06b34c106a3d391fd2910524 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 20 Sep 2022 22:35:52 +0530 Subject: First commit --- layouts/docs/baseof.html | 11 +++++++++++ layouts/docs/list.html | 34 ++++++++++++++++++++++++++++++++++ layouts/docs/single.html | 24 ++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 layouts/docs/baseof.html create mode 100644 layouts/docs/list.html create mode 100644 layouts/docs/single.html (limited to 'layouts/docs') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html new file mode 100644 index 0000000..2e4e23a --- /dev/null +++ b/layouts/docs/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "nav.html" "docs" -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/docs/list.html b/layouts/docs/list.html new file mode 100644 index 0000000..f8d665a --- /dev/null +++ b/layouts/docs/list.html @@ -0,0 +1,34 @@ +{{ define "main" }} +
+

+ {{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }} +

+

{{ .Description }}

+ + {{ .Content }} + + +
+{{ end }} diff --git a/layouts/docs/single.html b/layouts/docs/single.html new file mode 100644 index 0000000..64a74e4 --- /dev/null +++ b/layouts/docs/single.html @@ -0,0 +1,24 @@ +{{ define "main" }} +{{ $wrappedTable := printf "
${1}
" }} +
+

{{ .Title }}

+ + {{ .Content | replaceRE "((?:.|\n)+?
)" $wrappedTable | safeHTML }} + + + + +
+{{ end }} -- cgit v1.2.3