From 708052237e7aa6c4e51d3795ef4857228d71045e Mon Sep 17 00:00:00 2001 From: shimingxy Date: Sat, 7 Mar 2020 12:54:57 +0800 Subject: [PATCH] c --- docs/_includes/navigation.html | 22 +++++++++------------- docs/_layouts/default.html | 5 +---- docs/images/home.png | Bin 0 -> 235 bytes 3 files changed, 10 insertions(+), 17 deletions(-) create mode 100644 docs/images/home.png diff --git a/docs/_includes/navigation.html b/docs/_includes/navigation.html index b86cd274e..dbff4392c 100644 --- a/docs/_includes/navigation.html +++ b/docs/_includes/navigation.html @@ -1,13 +1,9 @@ -{% assign default_paths = site.pages | map: "path" %} -{% assign page_paths = site.header_pages | default: default_paths %} - -{% for path in page_paths %} - - {% assign page = site.pages | where: "path", path | first %} - - {% if page.title %} - {{ page.title }} - {% endif %} - - -{% endfor %} +
+ +
\ No newline at end of file diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index dddd2d6ec..eb4739d86 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -6,10 +6,7 @@
{% include header.html %}
-
- -
+ {% include navigation.html %}
{{ content }}
diff --git a/docs/images/home.png b/docs/images/home.png new file mode 100644 index 0000000000000000000000000000000000000000..11f59e93119f9216c0a7a6949f2451a72d029425 GIT binary patch literal 235 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VXMsm#F#`j)5C}6~x?A@LC^*;C z#WBP}@a&a`oGk`CZ4b@O8yCM|>wCljLQgdECMaKUns{kR&<^dI`mBl!rofP?6Q3K0 zbT=s#MK~?mdWWkZD)Q9JYt}d75-fjf3*69(ICqVeDVzCpq_ctnb2-D7SvxtIf(5iM zuH;gC^Xfp+I-$37XIr0t^{Ue&Lq0TgUitpWy%!%OtzG&}Z2gV74~zZQ=3f*qoBQy= d{Qnyp^-nKwiwjs?v;gQ(22WQ%mvv4FO#sqxTpa)a literal 0 HcmV?d00001