Added footer settings to the config: location, social and credits block titles, copyright, credits block content

main
Sergey Sokurenko 10 years ago
parent df9e9d14a1
commit 16a947b9e6

@ -9,6 +9,13 @@ color:
secondary: 2c3e50 #FD6E8A secondary: 2c3e50 #FD6E8A
secondary-dark: 233140 #A2122F secondary-dark: 233140 #A2122F
# Footer settings
footer:
copyright: Dr. Henry Jekyll
location: Location
social: Around the Web
credits: Credits
# Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.) # Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.)
social: social:
- title: twitter - title: twitter
@ -27,6 +34,9 @@ address:
- line: 3481 Melrose Place - line: 3481 Melrose Place
- line: Beverly Hills, CA 90210 - line: Beverly Hills, CA 90210
# Credits content
credits: 'Freelance is a free to use, open source Bootstrap theme created by <a href="http://startbootstrap.com">Start Bootstrap</a>.'
# Build settings # Build settings
markdown: kramdown markdown: kramdown
permalink: pretty permalink: pretty

@ -4,7 +4,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="footer-col col-md-4"> <div class="footer-col col-md-4">
<h3>Location</h3> <h3>{{ site.footer.location }}</h3>
<p> <p>
{% for adress in site.address %} {% for adress in site.address %}
{{ adress.line }} <br> {{ adress.line }} <br>
@ -12,7 +12,7 @@
</p> </p>
</div> </div>
<div class="footer-col col-md-4"> <div class="footer-col col-md-4">
<h3>Around the Web</h3> <h3>{{ site.footer.social }}</h3>
<ul class="list-inline"> <ul class="list-inline">
{% for network in site.social %} {% for network in site.social %}
<li> <li>
@ -22,8 +22,8 @@
</ul> </ul>
</div> </div>
<div class="footer-col col-md-4"> <div class="footer-col col-md-4">
<h3>Credits</h3> <h3>{{ site.footer.credits }}</h3>
<p>Freelance is a free to use, open source Bootstrap theme created by <a href="http://startbootstrap.com">Start Bootstrap</a>.</p> <p>{{ site.credits }}</p>
</div> </div>
</div> </div>
</div> </div>
@ -32,7 +32,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
Copyright &copy; {{ site.title }} 20{{ site.time | date: '%y' }} Copyright &copy; {{ site.footer.copyright }} 20{{ site.time | date: '%y' }}
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save