Skip to content
Snippets Groups Projects
Commit 78e89b2a authored by Jaromír Hradil's avatar Jaromír Hradil
Browse files

Merge branch 'fix/menu-toc' into 'master'

Fix/menu toc

See merge request !64
parents f04635ed 93e06af3
No related branches found
No related tags found
1 merge request!64Fix/menu toc
......@@ -3,6 +3,17 @@ image: registry.gitlab.com/pages/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
build-test:
before_script:
- apk update
- apk add git
- apk add python3
- apk add py3-pip
- apk add py3-yaml
script:
- hugo --config config.toml -D --destination=./public
pages:
before_script:
- apk update
......
baseURL = "http://localhost:1313"
baseURL = "http://localhost:1313/documentation"
languageCode = "en-us"
title = "cloud.muni.cz documentation"
theme = "hugo-geekdoc"
......
......@@ -2,6 +2,7 @@
title: "Introduction"
date: 2021-05-18T11:22:35+02:00
draft: false
disableToc: true
---
......
......@@ -2,6 +2,7 @@
title: "Advanced Features"
date: 2021-05-18T11:22:35+02:00
draft: false
toc: true
---
......
......@@ -2,6 +2,7 @@
title: "News"
date: 2021-05-18T11:22:35+02:00
draft: false
disableToc: true
---
......
......@@ -3,6 +3,7 @@ title: "Cloud Tools"
date: 2021-05-18T11:22:35+02:00
draft: false
weight: 100
disableToc: true
---
On this address [https://gitlab.ics.muni.cz/cloud/cloud-tools](https://gitlab.ics.muni.cz/cloud/cloud-tools) you can find a docker container with all modules required for cloud management, if you are interested in managing your cloud platform via CLI. If so, you can check our guide how to use CLI cloud interface [here](/documentation/cloud/cli/).
\ No newline at end of file
......@@ -2,6 +2,7 @@
title: "Accessing Windows instance"
date: 2021-05-18T11:22:35+02:00
draft: false
disableToc: true
---
......
{{ if not (.Params.disableToc) }}
<div class="custom-toc-1">
<i style="position: relative; left: 3px"> <h3>Table of Contents</h3></i>
{{ .TableOfContents }}
</div>
{{ end}}
{{ .Content | replaceRE `<nav id="TableOfContents">\s*<ul>\s*<li>\s*<ul>` `<nav id="TableOfContents"><ul>` | replaceRE `</ul>\s*</li>\s*</ul>\s*</nav>` `</ul></nav>` | safeHTML }}
......@@ -6,7 +6,7 @@
<h2>Navigation</h2>
<ul class="gdoc-nav__list">
<li><span class="flex"><strong>Information</strong></span>
<ul><span class="flex"><a class="gdoc-nav__entry " href="https://cloud.gitlab-pages.ics.muni.cz/documentation/cloud/news/">News</a></span></ul>
<ul><span class="flex"><a class="gdoc-nav__entry " href="/documentation/cloud/news/">News</a></span></ul>
</li>
</ul>
</section>
......
......@@ -8,3 +8,9 @@ table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sor
}
.custom-toc-1 {
border-left-color:#f2f2f2;
background-color:#f2f2f2;
color:#f2f2f2
border: 3px solid;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment