From 661454f5f73182da69401d1dff9c7c3c7693129b Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 16 Aug 2023 00:50:25 +0530 Subject: removed docs page --- layouts/docs/baseof.html | 11 ----------- layouts/docs/list.html | 36 ------------------------------------ layouts/docs/single.html | 24 ------------------------ layouts/partials/head.html | 5 ----- layouts/partials/index_nav.html | 3 --- layouts/partials/nav.html | 1 - 6 files changed, 80 deletions(-) delete mode 100644 layouts/docs/baseof.html delete mode 100644 layouts/docs/list.html delete mode 100644 layouts/docs/single.html (limited to 'layouts') 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 @@ - - - {{- 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 deleted file mode 100644 index 03b3721..0000000 --- a/layouts/docs/list.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ define "main" }} -
-

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

- {{ if ne (len .Pages) 0 }} -

{{ .Description }}

- {{ end }} - - {{ .Content }} - - -
-{{ 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 "
${1}
" }} -
-

{{ .Title }}

- - {{ .Content | replaceRE "((?:.|\n)+?
)" $wrappedTable | safeHTML }} - - - - -
-{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 565da2b..3acf837 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,10 +21,5 @@ {{ .Title }} - {{ .Site.Params.listsTitle }} - {{ else if eq .Type "docs"}} - - - - {{ .Title }} - {{ .Site.Params.docsTitle }} {{ end }} diff --git a/layouts/partials/index_nav.html b/layouts/partials/index_nav.html index 2c91552..fe3a482 100644 --- a/layouts/partials/index_nav.html +++ b/layouts/partials/index_nav.html @@ -7,9 +7,6 @@
  • Lists
  • -
  • - Projects -
  • Git
  • diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index fc951bd..ec8a08d 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -5,7 +5,6 @@
  • Contact
  • Blog
  • Lists
  • -
  • Docs
  • -- cgit v1.2.3