aboutsummaryrefslogtreecommitdiffstats
path: root/aboutwilson
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2014-11-11 13:07:45 -0800
committerJustin Mayer <entroP@gmail.com>2014-11-11 13:07:45 -0800
commit148a9d9c2fb3bc18e16188afd661484cb381e9f3 (patch)
treed1f66c79176b969c62d4c260cfa7d0cea32f6dbf /aboutwilson
parent531ca4be1d3683e49fff642bbc33e01ffab7b841 (diff)
parent0fb702ffb11557f7a3d5b38ab5689c293cc981c1 (diff)
downloadpelican-themes-148a9d9c2fb3bc18e16188afd661484cb381e9f3.tar.gz
Merge pull request #271 from agarstang/bug/aboutwilson/hardcodeditems
Fix hard-coded items in aboutwilson theme
Diffstat (limited to 'aboutwilson')
-rw-r--r--aboutwilson/templates/base.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/aboutwilson/templates/base.html b/aboutwilson/templates/base.html
index f89c4a9..26eddd8 100644
--- a/aboutwilson/templates/base.html
+++ b/aboutwilson/templates/base.html
@@ -21,8 +21,8 @@
<body>
<div class="container">
<div class="page-header">
- <h1><a href="{{SITEURL}}">{{ SITENAME }}</a>
- <br><small>what we observe is not the nature itself but the nature exposed to our method of questioning</small></h1>
+ <h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a>
+ <br>{% if SITESUBTITLE %}<small>{{ SITESUBTITLE }}</small></h1>{% endif %}
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
@@ -54,12 +54,9 @@
<div class="col-md-3">
<h4>Author</h4>
<ul class="list-unstyled my-list-style">
- <li><a href="http://aboutwilson.net">Homepage</a></li>
- <li><a href="http://github.com/wilsonfreitas">Github</a></li>
- <li><a href="https://twitter.com/aboutwilson">Twitter</a></li>
- <li><a href="https://plus.google.com/114469936125336696794?rel=author">Google+</a></li>
- <li><a href="https://www.facebook.com/wnfreitas">Facebook</a></li>
- <li><a href="http://www.linkedin.com/pub/wilson-freitas/a/572/609">Linked-in</a></li>
+ {% for name, link in SOCIAL %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
</ul>
</div>
<div class="col-md-3">
@@ -70,12 +67,16 @@
{% endfor %}
</ul>
</div>
+ {% if LINKS %}
<div class="col-md-3">
<h4>Links</h4>
<ul class="list-unstyled my-list-style">
- <li><a href="http://www.r-bloggers.com/">R-bloggers</a></li>
+ {% for name, link in LINKS %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
</ul>
</div>
+ {% endif %}
</div>
</div>
</div>