Skip to content

Commit

Permalink
Merge pull request #38 from gustavotero7/master
Browse files Browse the repository at this point in the history
Added facebook link at footer; Added _blank target on footer links to…
  • Loading branch information
tomanistor committed Mar 12, 2018
2 parents 12c8175 + c11cc0e commit 9658264
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ disableKinds = ["taxonomy", "taxonomyTerm"] # This theme does not currently use
twitter = "TomaNistor"
linkedin = "tomanistor"
github = "tomanistor"
facebook = "tomanistor"
email = ""
googleTagManager = ""
highlightJS = true
Expand Down
10 changes: 7 additions & 3 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<footer class="row middle-xs center-xs">

{{ if .Site.Params.facebook }}
<div class="col-xs-3 col-md-2"><a target="_blank" href="https://facebook.com/{{ .Site.Params.facebook }}">Facebook</a></div>
{{ end }}

{{ if .Site.Params.github }}
<div class="col-xs-3 col-md-2"><a href="/{{ .Site.Params.github }}">GitHub</a></div>
<div class="col-xs-3 col-md-2"><a target="_blank" href="/{{ .Site.Params.github }}">GitHub</a></div>
{{ end }}

{{ if .Site.Params.linkedin }}
<div class="col-xs-3 col-md-2"><a href="https://linkedin.com/in/{{ .Site.Params.linkedin }}">LinkedIn</a></div>
<div class="col-xs-3 col-md-2"><a target="_blank" href="https://linkedin.com/in/{{ .Site.Params.linkedin }}">LinkedIn</a></div>
{{ end }}

{{ if .Site.Params.twitter }}
<div class="col-xs-3 col-md-2"><a href="https://twitter.com/{{ .Site.Params.twitter }}">Twitter</a></div>
<div class="col-xs-3 col-md-2"><a target="_blank" href="https://twitter.com/{{ .Site.Params.twitter }}">Twitter</a></div>
{{ end }}

{{ if or (.Site.Params.copyright) (.Site.Params.credit) }}
Expand Down

0 comments on commit 9658264

Please sign in to comment.