Skip to content

Commit 3d95d9f

Browse files
committed
Added configs page and updated sidebar
1 parent 30eda89 commit 3d95d9f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/_includes/sidebar.html

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
<ul class="routes">
1616
<li><a href="{{ "/" | relative_url }}" {% if page.url == '/' %}class="active"{% endif %}>Index</a></li>
17+
<li><a href="{{ "/configs" | relative_url }}" {% if active[1] == 'configs' %}class="active"{% endif %}>Configs</a></li>
1718
<li><a href="{{ "/api" | relative_url }}" {% if active[1] == 'api' %}class="active"{% endif %}>API</a></li>
1819
<li><a href="{{ "/frontend" | relative_url }}" {% if active[1] == 'frontend' %}class="active"{% endif %}>Front End</a>
1920
<ul>

docs/configs.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Configuration Options
3+
permalink: /configs/
4+
---
5+
6+
Jekyll Admin related options can be specified in `_config.yml`
7+
under a key called `jekyll_admin`.
8+
9+
### Config Options
10+
11+
#### `hidden_links`
12+
13+
For hiding unwanted links on the sidebar.
14+
15+
The following keys under `hidden_links` can be used in order to hide default links:
16+
17+
```yaml
18+
jekyll_admin:
19+
hidden_links:
20+
- posts
21+
- pages
22+
- staticfiles
23+
- datafiles
24+
- configuration
25+
```

0 commit comments

Comments
 (0)