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

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvveiii <cntrump@gmail.com>2020-01-02 03:51:49 +0300
committervvveiii <cntrump@gmail.com>2020-01-02 03:51:49 +0300
commit2c819178193be54d2aafe50c66764a191926c2c5 (patch)
tree22afe329806a39b08c9e3cfdfbe0a1f8f2600db7 /README.md
parentd776ad1d2fda5948e6a4a1ffe878a249b74b335d (diff)
update ReadMe
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d272ab7..5949659 100644
--- a/README.md
+++ b/README.md
@@ -297,8 +297,8 @@ An example navigation-items.html:
Or, you can rewrite it:
```html
-<a class="nav-item" href="/pages/about/"><span class="iconfont icon-aboutus"></span> About</a>
-<a class="nav-item" href="https://github.com/cntrump" target="_blank"><span class="iconfont icon-logo_github"></span> Github</a>
+<a class="nav-item" href="{{- `/pages/about/` | relURL -}}"><span class="iconfont icon-aboutus"></span>&nbsp;About</a>
+<a class="nav-item" href="https://github.com/cntrump" target="_blank"><span class="iconfont icon-logo_github"></span>&nbsp;Github</a>
```
`iconfont`, `icon-*` classes are my custom CSS.