diff options
author | Mehedi Sharif Titas <mehedishariftitas@gmail.com> | 2021-09-30 19:15:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 19:15:14 +0300 |
commit | 486fffcb3342e1a563c25d7e4f7ac74228b3dc23 (patch) | |
tree | 38e8daa5c0fd174392a59ced0ef36fef81f5e2f4 | |
parent | 00a601944307bedda73b22a85f6ab9583b8f7ac1 (diff) | |
parent | 4b8e020c2108d5972b236c8c4ef82701c518c7ba (diff) |
Merge pull request #53 from phillxnet/52_Broken_"Follow-me"_links_on_homepage_layout_2
Broken "Follow me:" links on homepage layout 2 #52
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8837ed3..b1a8bdf 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -121,4 +121,4 @@ link = "#" [[params.social]] icon = "ti-github" -link = "#"
\ No newline at end of file +link = "#" diff --git a/layouts/index.html b/layouts/index.html index 342fa8e..07f92ca 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -37,7 +37,7 @@ <span class="font-secondary text-dark mr-3 mr-sm-5">Follow me :</span> <ul class="list-inline d-inline-block mb-5"> {{ range site.Params.social }} - <li class="list-inline-item mx-3"><a href="{{.URL}}" class="text-dark"><i class="{{.icon}}"></i></a></li> + <li class="list-inline-item mx-3"><a href="{{ .link | safeURL }}" class="text-dark"><i class="{{.icon}}"></i></a></li> {{ end }} </ul> </div> |