Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsiya@gmail.com <parsiya@gmail.com>2016-07-31 21:39:26 +0300
committerparsiya@gmail.com <parsiya@gmail.com>2016-07-31 21:39:26 +0300
commita700f9a0cbb002abf0403700412eda26094aaed4 (patch)
tree8935fe342412935ad3e2569e35bdffb72101c7fb
parent4fd5a722b61adb765e38d03531c190f995af7a6d (diff)
Fix typo in README and make navigationNewWindow addition more readable in navigation.html
-rw-r--r--README.md2
-rw-r--r--layouts/partials/navigation.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index f8e7924..27e717b 100644
--- a/README.md
+++ b/README.md
@@ -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>