diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | layouts/partials/navigation.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -193,7 +193,7 @@ Links are sorted according to weight from left to right. For example a link with [params] # if set to true, navigation menu links will open in a new window with the exception of links to root ("\") - # if this item does not exist or set to false, then navigation menu links will open in the same window + # if this item does not exist or set to false, then navigation menu links will open in the same window navigationNewWindow = true The search engine can also be customized in the `config.toml` file as follows: diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 82d3d62..9a141a7 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -6,7 +6,7 @@ {{ if eq .URL "/" }} <li><a href="{{ .URL | absURL }}" title="{{ .Name }}">{{ .Name }}</a></li> {{ else }} - <li><a href="{{ .URL | absURL }}" {{ if eq $.Site.Params.navigationNewWindow true }} target="_blank" {{ end }} title="{{ .Name }}">{{ .Name }}</a></li> + <li><a href="{{ .URL | absURL }}" title="{{ .Name }}" {{ if eq $.Site.Params.navigationNewWindow true }} target="_blank" {{ end }}>{{ .Name }}</a></li> {{ end }} {{ end }} </ul> |