diff --git a/.stylelintrc.json b/.stylelintrc.json index c130937..65ae959 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,5 +1,7 @@ { - "ignoreFiles": ["lib/**/*"], + "ignoreFiles": [ + "lib/**/*" + ], "rules": { "color-no-invalid-hex": true, "declaration-block-no-duplicate-properties": true, diff --git a/_data/nav.yml b/_data/nav.yml index 7b46d06..c31d8c0 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -1,4 +1,4 @@ -# Main navbar: order preserved. `type: download_dropdown` renders _includes/nav-download-dropdown.html. +# Main navbar: order preserved. `type: download_dropdown` / `docs_dropdown` are rendered in nav-main-items.html. main: - id: home home: true @@ -11,7 +11,8 @@ main: href: /news.html title: XCSoar news and updates menu: news - - id: docs + - type: docs_dropdown + id: docs label: Docs href: /docs/ title: XCSoar documentation diff --git a/_includes/header.html b/_includes/header.html index 8aa9c53..e6aa48b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -125,7 +125,9 @@

{{ page.title }}

{% if page.tagline %} -
-

{{ page.title }}

+
+
+

{{ page.title }}

+
{% endif %} diff --git a/_includes/nav-main-items.html b/_includes/nav-main-items.html index af09b82..ab938d0 100644 --- a/_includes/nav-main-items.html +++ b/_includes/nav-main-items.html @@ -8,6 +8,14 @@
  • Maps
  • + {% elsif item.type == 'docs_dropdown' %} + {% elsif item.icon %}