From d0ec92dde1bf0cf7211ee466f13347a63b3b0744 Mon Sep 17 00:00:00 2001 From: Linlin Yan Date: Wed, 25 Dec 2019 22:33:05 +0800 Subject: Support navi-menu to parent site --- layouts/_default/baseof.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3205395..1ac6278 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -37,6 +37,13 @@ li.page-item{display:inline;padding-right:15px}
+ {{ with .Site.Menus.parent -}} + + {{ end -}}

{{ .Site.Title }}

{{- if .Site.Params.subtitle }}

{{ .Site.Params.subtitle }}

{{- end }} -- cgit v1.2.3