Skip to content

Commit c24499f

Browse files
committed
Documentation: Improve web page
* Fix navigation pages * Improve title
1 parent 9f8b16d commit c24499f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docs/_config.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ minima:
1818
- title: GitHub
1919
icon: github
2020
url: "https://github.com/dagargo"
21-
22-
header_pages:
23-
- installation.md
24-
- usage.md
25-
- configuration.md
26-
- adding.md
21+
header_pages:
22+
- installation.md
23+
- usage.md
24+
- configuration.md
25+
- adding.md

docs/_includes/header.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
width: 32px;
1414
vertical-align: text-bottom;
1515
}
16+
#custom-title {
17+
margin-left: 8px;
18+
}
1619
</style>
1720

1821
<a id="fmogr" href="https://github.com/dagargo/overwitch">
@@ -25,7 +28,7 @@
2528
{%- assign default_paths = site.pages | sort: 'order' | map: "path" -%}
2629
{%- assign page_paths = site.minima.nav_pages | default: default_paths -%}
2730
{%- assign page_titles = site.pages | map: 'title' | compact %}
28-
<a class="site-title" rel="author" href="{{ '/' | relative_url }}"><img id="custom-logo" src="{{ "/images/logo.png" | relative_url }}">{{ site.title | escape }}</a>
31+
<a class="site-title" rel="author" href="{{ '/' | relative_url }}"><img id="custom-logo" src="{{ "/images/logo.png" | relative_url }}"><span id="custom-title">{{ site.title | escape }}</span></a>
2932

3033
{%- unless page_titles == empty %}
3134
<nav class="site-nav">

0 commit comments

Comments
 (0)