aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>