diff options
Diffstat (limited to '')
-rw-r--r-- | layouts/partials/nav.html | 1 | ||||
-rw-r--r-- | layouts/search/single.html | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index f18fcd3..109f687 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -2,7 +2,6 @@ <nav> <ul> <li class="nav-menu-title"><a href="/">{{ .Site.Title }}</a></li> - <li><a href="/tags/">Tags</a></li> {{- $p := . -}} {{- range .Site.Menus.main.ByWeight -}} {{- $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}} diff --git a/layouts/search/single.html b/layouts/search/single.html new file mode 100644 index 0000000..7a01c2d --- /dev/null +++ b/layouts/search/single.html @@ -0,0 +1,7 @@ +{{ define "main" }} + +{{ .Content }} + +{{ print "{{ template \"search\" . }}" }} + +{{ end }} |