diff --git a/couscous.yml b/couscous.yml
index e57b55f..3cad681 100644
--- a/couscous.yml
+++ b/couscous.yml
@@ -66,6 +66,6 @@ menu:
multilang:
name: Languages
items:
- english:
+ default:
text: Translations
relativeUrl: translations/default.html
diff --git a/docs/accounts.md b/docs/accounts.md
index f98f994..475c2f9 100644
--- a/docs/accounts.md
+++ b/docs/accounts.md
@@ -1,3 +1,7 @@
+---
+currentMenu: account
+---
+
## User roles
There are 3 different user roles:
diff --git a/docs/configuration/auth.md b/docs/configuration/auth.md
index ab9ce15..866e63c 100644
--- a/docs/configuration/auth.md
+++ b/docs/configuration/auth.md
@@ -1,3 +1,7 @@
+---
+currentMenu: auth
+---
+
## Default Auth service
By default, users are stored in json file. For some use-cases, this is enough. It also makes this app lightweight since no database is required.
diff --git a/docs/configuration/basic.md b/docs/configuration/basic.md
index 49743d9..6e7344f 100644
--- a/docs/configuration/basic.md
+++ b/docs/configuration/basic.md
@@ -1,3 +1,6 @@
+---
+currentMenu: basic
+---
## Basic
All services are set with reasonable defaults. For regular users there is no need to change anything. The script should work out of the box.
diff --git a/docs/configuration/logging.md b/docs/configuration/logging.md
index 1e6a7cd..efa01b7 100644
--- a/docs/configuration/logging.md
+++ b/docs/configuration/logging.md
@@ -1,3 +1,6 @@
+---
+currentMenu: logging
+---
## Configuring Logging service
@@ -21,4 +24,4 @@ Default handler will use simple ```/private/logs/app.log``` file to store applic
],
```
-There are many different handlers you can add ot top of the stack (monolog_handlers array). Some of them are listed [here](https://github.com/Seldaek/monolog#documentation).
+There are many different handlers you can add on top of the stack (monolog_handlers array). Some of them are listed [here](https://github.com/Seldaek/monolog#documentation).
diff --git a/docs/configuration/router.md b/docs/configuration/router.md
index 88db693..e8ea730 100644
--- a/docs/configuration/router.md
+++ b/docs/configuration/router.md
@@ -1,3 +1,6 @@
+---
+currentMenu: router
+---
## Router service
diff --git a/docs/configuration/security.md b/docs/configuration/security.md
index fd682a4..d511b94 100644
--- a/docs/configuration/security.md
+++ b/docs/configuration/security.md
@@ -1,3 +1,7 @@
+---
+currentMenu: security
+---
+
## Configuring Security service
Simple security service is included in the script by default. This service provides:
diff --git a/docs/configuration/session.md b/docs/configuration/session.md
index 7993de9..2e80792 100644
--- a/docs/configuration/session.md
+++ b/docs/configuration/session.md
@@ -1,3 +1,6 @@
+---
+currentMenu: sessions
+---
## Default Session handler
diff --git a/docs/configuration/storage.md b/docs/configuration/storage.md
index deaa6b3..e5b4794 100644
--- a/docs/configuration/storage.md
+++ b/docs/configuration/storage.md
@@ -1,3 +1,7 @@
+---
+currentMenu: storage
+---
+
## Adapters
Different storage adapters are provided through the awesome [Flysystem](https://github.com/thephpleague/flysystem) library.
diff --git a/docs/demo.md b/docs/demo.md
index 33cd519..59d5e4b 100644
--- a/docs/demo.md
+++ b/docs/demo.md
@@ -1,3 +1,7 @@
+---
+currentMenu: demo
+---
+
## Demo
[https://demo.filegator.io](https://demo.filegator.io)
diff --git a/docs/development.md b/docs/development.md
index 9d802f8..b0e7619 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -1,3 +1,6 @@
+---
+currentMenu: development
+---
## Project setup for development (Linux)
diff --git a/docs/index.md b/docs/index.md
index 35c1c44..7290240 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,4 +1,3 @@
-
## FileGator
diff --git a/docs/install.md b/docs/install.md
index 35c2b66..f9a534b 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -1,3 +1,6 @@
+---
+currentMenu: install
+---
## Requirements
- PHP 7.1.3+
diff --git a/docs/template/css/main.css b/docs/template/css/main.css
index 08ee243..e4d83d6 100644
--- a/docs/template/css/main.css
+++ b/docs/template/css/main.css
@@ -49,6 +49,10 @@ header.navbar {
color: white;
}
+.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
+ background-color: #34b891;
+}
+
@media (min-width: 768px) {
#sidebar {
position:absolute;
diff --git a/docs/translations/default.md b/docs/translations/default.md
index fdeea74..5d90f8e 100644
--- a/docs/translations/default.md
+++ b/docs/translations/default.md
@@ -1,3 +1,7 @@
+---
+currentMenu: default
+---
+
## Translations
Default language file is located under ```/frontend/translations/english.js```. You can add more languages in the same folder and adjust ```language``` variable in your ```configuration.php``` file to use it.