diff options
-rw-r--r-- | pelican-bootstrap3/static/css/style.css | 4 | ||||
-rw-r--r-- | pelican-bootstrap3/templates/includes/sidebar.html | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/pelican-bootstrap3/static/css/style.css b/pelican-bootstrap3/static/css/style.css index 646765a..7c9dc0a 100644 --- a/pelican-bootstrap3/static/css/style.css +++ b/pelican-bootstrap3/static/css/style.css @@ -74,6 +74,10 @@ body { margin-right: 3px; } +.sidebar-links { + font-size: 16px; +} + a, a:hover { color: inherit; } diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html index c59b8f0..b5b173f 100644 --- a/pelican-bootstrap3/templates/includes/sidebar.html +++ b/pelican-bootstrap3/templates/includes/sidebar.html @@ -4,6 +4,22 @@ <section class="well well-sm"> <ul class="list-group list-group-flush"> + {% if SIDEBARITEMS %} + {% for name, link in SIDEBARITEMS %} + <li class="list-group-item sidebar-links"> + <a href="{{ link }}"> + {{ name }} + </a> + </li> + {% endfor %} + {% endif %} + {% if FEED_ALL_ATOM %} + <li class="list-group-item sidebar-links"> + <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate"> + Feed</a> + </li> + {% endif %} + {% if SOCIAL %} <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4> <ul class="list-group" id="social"> |