diff options
author | Evan <58769763+developer-evan@users.noreply.github.com> | 2020-09-21 06:06:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 06:06:42 +0300 |
commit | 27067d42f74eaa74d8cccf593abf763dcac7edf3 (patch) | |
tree | 73ff2728c5dd4f88c52f224ae2dbd35b2e9c2093 | |
parent | 4cf1e8654b463d0d8b32a61c80c526f5f6d238d9 (diff) | |
parent | 390fc7f9e0a455068b4b18bef8d13435b02c2267 (diff) |
Merge pull request #31 from raghuvv/master
bugfix: corrected the reference to params.social .URL parameter in \layouts\contact\list.html
-rw-r--r-- | layouts/contact/list.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/contact/list.html b/layouts/contact/list.html index 6f3b8f8..2ef9db2 100644 --- a/layouts/contact/list.html +++ b/layouts/contact/list.html @@ -30,7 +30,7 @@ <div class="col-12"> <ul class="list-inline social-icons text-center"> {{ range site.Params.social }} - <li class="list-inline-item"><a href="{{.link}}"><i class="{{.icon}}"></i></a></li> + <li class="list-inline-item"><a href="{{.URL}}"><i class="{{.icon}}"></i></a></li> {{ end }} </ul> </div> diff --git a/layouts/index.html b/layouts/index.html index 1904a9e..7bc4e47 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -265,7 +265,7 @@ <div class="col-12 text-center"> <h2 class="section-title">{{site.Data.homepage.blog.title | markdownify }}</h2> </div> - {{ range first 3 site.RegularPages }} + {{ range first 3 (where .Site.RegularPages "Section" "blog")}} {{ .Render "post" }} {{ end }} </div> |