Skip to content

Commit be0932f

Browse files
Merge pull request jekyll#438 from JohannesMP/master
Add Config Page to Documentation
2 parents 171d77c + 3d95d9f commit be0932f

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

docs/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ collections:
66
permalink: /frontend/:path/
77
output: true
88

9-
gems:
9+
plugins:
1010
- jekyll-seo-tag
1111
- jekyll-sitemap
1212

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)