diff options
author | parsiya@gmail.com <parsiya@gmail.com> | 2016-07-31 21:39:26 +0300 |
---|---|---|
committer | parsiya@gmail.com <parsiya@gmail.com> | 2016-07-31 21:39:26 +0300 |
commit | a700f9a0cbb002abf0403700412eda26094aaed4 (patch) | |
tree | 8935fe342412935ad3e2569e35bdffb72101c7fb | |
parent | 4fd5a722b61adb765e38d03531c190f995af7a6d (diff) |
Fix typo in README and make navigationNewWindow addition more readable in navigation.html
-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> |