Merge pull request #88 from nathanbiller/variablizeFooterFollowUsText-48

Added a variable to the config file for Follow Us text and then added…
This commit is contained in:
Stefan M
2019-10-11 08:13:32 +02:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -117,6 +117,8 @@ params:
footer:
# Logo (from /images/logos/___)
logo: fresh-white-alt.svg
# Social Media Title
socialmediatitle: Follow Us
# Social media links (GitHub, Twitter, etc.). All are optional.
socialmedia:
- link: https://github.com/lucperkins/github-fresh

View File

@@ -3,6 +3,7 @@
{{- $quickLinks := index $footer "quicklinks" }}
{{- $socialMedia := index $footer "socialmedia" }}
{{- $bulmaLogo := index $footer "bulmalogo" }}
{{- $socialMediaTitle := index $footer "socialmediatitle" }}
<footer class="footer footer-dark">
<div class="container">
<div class="columns">
@@ -32,7 +33,7 @@
<div class="column">
<div class="footer-column">
<div class="footer-header">
<h3>Follow Us</h3>
<h3>{{ $socialMediaTitle }}</h3>
<nav class="level is-mobile">
<div class="level-left">
{{- range $socialMedia }}