Browse Source

Merge pull request #9 from Miss-Jones/url_fixes

Fixed a small number of errors and confusion in the social media links
tags/v1.0.0
Mehedi Sharif Titas 6 years ago
parent
commit
4350873022
No account linked to committer's email address
3 changed files with 25 additions and 2 deletions
  1. 7
    0
      exampleSite/config.toml
  2. 17
    1
      exampleSite/data/team.yml
  3. 1
    1
      layouts/partials/team.html

+ 7
- 0
exampleSite/config.toml View File

@@ -98,21 +98,28 @@ custom_css = ["css/custom.css"]
# social Icons
[[params.footer.socialIcon]]
icon = "tf-ion-social-facebook"
url = "#"
[[params.footer.socialIcon]]
icon = "tf-ion-social-twitter"
url = "#"
[[params.footer.socialIcon]]
icon = "tf-ion-social-google-outline"
url = "#"
[[params.footer.socialIcon]]
icon = "tf-ion-social-youtube"
url = "#"
[[params.footer.socialIcon]]
icon = "tf-ion-social-linkedin"
url = "#"
[[params.footer.socialIcon]]
icon = "tf-ion-social-dribbble-outline"
url = "#"
[[params.footer.socialIcon]]
icon = "tf-ion-social-pinterest-outline"
url = "#"

+ 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