dubbo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu...@apache.org
Subject [dubbo-website] 24/38: replace hardcoded 'Docs'
Date Wed, 21 Oct 2020 10:12:01 GMT
This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit 9471786f073b46dfd519dd1a296c3498965fbc77
Author: ken.lj <ken.lj.hz@gmail.com>
AuthorDate: Fri Aug 14 10:34:27 2020 +0800

    replace hardcoded 'Docs'
---
 overrides/partials/nav.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/overrides/partials/nav.html b/overrides/partials/nav.html
index 5d56218..a61211f 100755
--- a/overrides/partials/nav.html
+++ b/overrides/partials/nav.html
@@ -51,7 +51,7 @@
   <ul class="md-nav__list" data-md-scrollfix>
     {% set loopIndex = 1 %}
     {% for nav_item in nav %}
-      {% if nav_item.title == 'Docs' %}
+      {% if nav_item.title == config.extra.docs_key %}
         {% for version_nav_item in nav_item.children %}
           {% set nav_item = version_nav_item %}
           {% set path = "nav-" + loopIndex | string %}


Mime
View raw message