aboutsummaryrefslogtreecommitdiff
path: root/layouts/docs
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-16 00:50:25 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-16 00:50:25 +0530
commit661454f5f73182da69401d1dff9c7c3c7693129b (patch)
tree50f2f8046e416e41fac61126d283d074bf71ea2e /layouts/docs
parentc5b579c719b5197510091472af951a675beb6211 (diff)
removed docs pageHEADmaster
Diffstat (limited to 'layouts/docs')
-rw-r--r--layouts/docs/baseof.html11
-rw-r--r--layouts/docs/list.html36
-rw-r--r--layouts/docs/single.html24
3 files changed, 0 insertions, 71 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html
deleted file mode 100644
index 2e4e23a..0000000
--- a/layouts/docs/baseof.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode }}">
- {{- partial "head.html" . -}}
- <body>
- {{- partial "nav.html" "docs" -}}
- <main>
- {{- block "main" . }}{{- end }}
- </main>
- {{- partial "footer.html" . -}}
- </body>
-</html>
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
deleted file mode 100644
index 03b3721..0000000
--- a/layouts/docs/list.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{{ define "main" }}
- <div>
- <h1 class="title {{ if eq (len .Pages) 0 }}centered{{ end }}">
- {{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}
- </h1>
- {{ if ne (len .Pages) 0 }}
- <p>{{ .Description }}</p>
- {{ end }}
-
- {{ .Content }}
-
- <ul class="range">
- {{ if ne (len .Sections) 0}}
- {{ range .Sections }}
- <li>
- <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Description }}
- <ul class="range">
- <!-- Show pages under this section (but not subsections) -->
- {{ range (union .Sections .Pages).ByWeight }}
- <li>
- <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Description }}
- </li>
- {{ end }}
- </ul>
- </li>
- {{ end }}
- {{ else }}
- {{ range .RegularPages.ByWeight }}
- <li>
- <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Description }}
- </li>
- {{ end }}
- {{ end }}
- </ul>
- </div>
-{{ end }}
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
deleted file mode 100644
index 1823c5d..0000000
--- a/layouts/docs/single.html
+++ /dev/null
@@ -1,24 +0,0 @@
-{{ define "main" }}
-{{ $wrappedTable := printf "<div class='table-wrapper'> ${1} </div>" }}
-<div>
- <h1 class="title centered">{{ .Title }}</h1>
- <!--p style="text-align: center;">{{ .Summary }}</p-->
- {{ .Content | replaceRE "(<table>(?:.|\n)+?</table>)" $wrappedTable | safeHTML }}
-
- <!-- For some reason prevpage shows next and vice versa -->
- <div class="page-nav">
- <span>
- {{ if .NextInSection }}
- <a href="{{ .NextInSection.Permalink }}">Previous: {{ .NextInSection.Title }}</a>
- {{ end }}
- </span>
-
- <span>
- {{ if .PrevInSection }}
- <a href="{{ .PrevInSection.Permalink }}">Next: {{ .PrevInSection.Title }}</a>
- {{ end }}
- </span>
- </div>
-
-</div>
-{{ end }}