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

github.com/onweru/compose.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweru <fromweru@gmail.com>2022-02-01 01:49:49 +0300
committerweru <fromweru@gmail.com>2022-02-01 01:49:49 +0300
commit17403bce61631a2bb6ddfab84c7dddf09b75473c (patch)
tree5648d7bbdca6aab4d876d8afe49fd54b7762bb60
parent3e693b7e678d712a94cf875e76465821ffdfcfb9 (diff)
cleanup #73
Signed-off-by: weru <fromweru@gmail.com>
-rw-r--r--exampleSite/config/_default/menus/menu.en.toml5
-rw-r--r--exampleSite/content/tutorials/_index.md11
-rw-r--r--layouts/_default/baseof.html1
3 files changed, 9 insertions, 8 deletions
diff --git a/exampleSite/config/_default/menus/menu.en.toml b/exampleSite/config/_default/menus/menu.en.toml
index 2db667d..d5e00b0 100644
--- a/exampleSite/config/_default/menus/menu.en.toml
+++ b/exampleSite/config/_default/menus/menu.en.toml
@@ -5,6 +5,11 @@
url = "docs/"
[[main]]
+ name = "Tutorials"
+ weight = 2
+ url = "tutorials/"
+
+[[main]]
name = "Example"
weight = 3
url = "https://docs.neuralvibes.com"
diff --git a/exampleSite/content/tutorials/_index.md b/exampleSite/content/tutorials/_index.md
index cde0c19..87050c6 100644
--- a/exampleSite/content/tutorials/_index.md
+++ b/exampleSite/content/tutorials/_index.md
@@ -3,16 +3,13 @@ title: "Tutorials' Docs"
weight: 1
---
-These docs consists of two parts:
+Just an example of an additional docs folder.
-1. Hugo Compose Themes docs
-2. Hugo Clarity Theme docs.
-
-Please note that the features listed under each theme are independent of each other. That is to say, some features may only be found in one theme and not in both.
+Surprised that it doesn't have a left sidebar menu? Worry not; just [follow this instructions to enable it](../docs/compose/organize-content/#documentation).
<!-- That content is better than dummy lorem ipsum 2) That content serves a good real-world demo for this theme 3) Publish more structured docs for each theme which are better than long blocky READMEs -->
-{{< button "./compose/" "Compose Theme Docs" "mb-1" >}}
+{{< button "./example" "Tutorials" "mb-1" >}}
-{{< button "./clarity/" "Clarity Theme Docs" >}}
+{{< button "../docs/" "Back to docs" >}}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 0b16789..8567a43 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -15,7 +15,6 @@
{{- if or (in $docSections .Section) (and (ne site.Params.uniqueHomepage true) .IsHome) }}
{{- partial "document" . }}
{{- else }}
- <h1>False {{ .Section }}</h1>
{{- block "main" . }}{{ end }}
{{- end -}}
</div>