Browse Source

Fixes a mistake in the team.html where the url was hardcoded to #

tags/v1.0.0
JonasVHM 6 years ago
parent
commit
e5a15ee084
2 changed files with 18 additions and 2 deletions
  1. 17
    1
      exampleSite/data/team.yml
  2. 1
    1
      layouts/partials/team.html

+ 17
- 1
exampleSite/data/team.yml View File

@@ -8,9 +8,13 @@ teamMember :
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur necessitatibus ullam, culpa odio.
socialIcon :
- icon : tf-ion-social-facebook
url : "#"
- icon : tf-ion-social-twitter
url : "#"
- icon : tf-ion-social-linkedin
url : "#"
- icon : tf-ion-social-dribbble-outline
url : "#"
- image : images/team/team-2.jpg
name : Frank Miller
@@ -18,9 +22,13 @@ teamMember :
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur necessitatibus ullam, culpa odio.
socialIcon :
- icon : tf-ion-social-facebook
url : "#"
- icon : tf-ion-social-twitter
url : "#"
- icon : tf-ion-social-linkedin
url : "#"
- icon : tf-ion-social-dribbble-outline
url : "#"
- image : images/team/team-3.jpg
name : Michael Jonson
@@ -28,9 +36,13 @@ teamMember :
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur necessitatibus ullam, culpa odio.
socialIcon :
- icon : tf-ion-social-facebook
url : "#"
- icon : tf-ion-social-twitter
url : "#"
- icon : tf-ion-social-linkedin
url : "#"
- icon : tf-ion-social-dribbble-outline
url : "#"
- image : images/team/team-4.jpg
name : Mo. Kha. Alamgir
@@ -38,6 +50,10 @@ teamMember :
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur necessitatibus ullam, culpa odio.
socialIcon :
- icon : tf-ion-social-facebook
url : "#"
- icon : tf-ion-social-twitter
url : "#"
- icon : tf-ion-social-linkedin
- icon : tf-ion-social-dribbble-outline
url : "#"
- icon : tf-ion-social-dribbble-outline
url : "#"

+ 1
- 1
layouts/partials/team.html View File

@@ -23,7 +23,7 @@
<div class="mask">
<ul class="list-inline">
{{ range .socialIcon }}
<li><a href="#"><i class="{{ .icon }}"></i></a></li>
<li><a href="{{ .url }}"><i class="{{ .icon }}"></i></a></li>
{{ end }}
</ul>
</div>

Loading…
Cancel
Save