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

github.com/asurbernardo/amperage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsur <asur@asurbernardo.com>2020-01-18 21:03:28 +0300
committerAsur <asur@asurbernardo.com>2020-01-18 21:03:28 +0300
commit912742b9dc71029fc520d480b6f5551aae3379f8 (patch)
tree48d26aeef3f182476f35a715108e7bd7febcbb48
parentd5924ae08ac497b64a381eb3d6c4cf4d2c683e80 (diff)
Update logic to identify internal links1.0
-rw-r--r--layouts/partials/header/menu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header/menu.html b/layouts/partials/header/menu.html
index 363757c..a9c268a 100644
--- a/layouts/partials/header/menu.html
+++ b/layouts/partials/header/menu.html
@@ -3,8 +3,8 @@
{{ $url := trim .URL "/" | absURL }}
<li>
<a href="{{ $url }}"
- {{ with .Identifier }} target="_blank" rel="nofollow noopener noreferrer"
- {{else}} data-rel="prefetch" {{ end }}>
+ {{ with .Page }} data-rel="prefetch"
+ {{else}} target="_blank" rel="nofollow noopener noreferrer" {{ end }}>
{{ .Pre }}<span>{{ .Name }}</span>
</a>
</li>