diff options
Diffstat (limited to 'layouts/partials/footer/index.html')
-rw-r--r-- | layouts/partials/footer/index.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/layouts/partials/footer/index.html b/layouts/partials/footer/index.html index 6d59f50..39404f9 100644 --- a/layouts/partials/footer/index.html +++ b/layouts/partials/footer/index.html @@ -5,16 +5,18 @@ {{ partial "footer/recentposts.html" . }} <div class="4u 12u(mobile)"> <section> + {{ with index .Site.Data.footer.content.sections 1 }} <header> - <h2>{{ .Site.Params.Footer.title2 }}</h2> + <h2>{{ .title }}</h2> </header> - <a href="{{ .Site.Params.Footer.imagelink2 }}" class="image featured"><img src="{{ .Site.BaseURL }}{{ .Site.Params.Footer.imageurl2 }}" alt="" /></a> + <a href="{{ .imagelink }}" class="image featured"><img src="{{ .Site.BaseURL }}{{ .imageurl }}" alt="" /></a> <p> - {{ .Site.Params.Footer.description2 }} + {{ .description }} </p> <footer> - <a href="{{ .Site.Params.Footer.buttonlink2 }}" class="button">{{ .Site.Params.Footer.buttontext2 }}</a> + <a href="{{ .buttonlink }}" class="button">{{ .buttontext }}</a> </footer> + {{ end }} </section> </div> </div> @@ -22,7 +24,7 @@ <div class="4u 12u(mobile)"> <section> <header> - <h2>{{ .Site.Params.Footer.title3 }}</h2> + <h2>{{ (index .Site.Data.footer.content.sections 2).title }}</h2> </header> <ul class="divided"> {{ range .Site.Data.footer.links.left.links }} @@ -34,7 +36,7 @@ <div class="4u 12u(mobile)"> <section> <header> - <h2>{{ .Site.Params.Footer.title4 }}</h2> + <h2>{{ (index .Site.Data.footer.content.sections 3).title }}</h2> </header> <ul class="divided"> {{ range .Site.Data.footer.links.right.links }} @@ -46,7 +48,7 @@ <div class="4u 12u(mobile)"> <section> <header> - <h2>{{ .Site.Params.Footer.title5 }}</h2> + <h2>{{ (index .Site.Data.footer.content.sections 4).title }}</h2> </header> {{ partial "footer/social.html" . }} <ul class="contact"> |