danielmochdotcom

Nikola site for www.danielmoch.com
git clone git://git.danielmoch.com/danielmochdotcom.git
Log | Files | Refs

commit 43713ddd36f606dd8fb83f2fa91fd5ac6c13bc8a
parent 0d6cf5292382bccd3384736971e3803f37f29e18
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu, 11 Jul 2019 19:40:14 -0400

Add site links to sidebar

Diffstat:
Mconf.py | 1-
Mthemes/djmoch/assets/site.css | 4++++
Mthemes/djmoch/templates/sidebar.tmpl | 8++++++++
3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/conf.py b/conf.py @@ -139,7 +139,6 @@ ("/", "Home"), ("/pages/projects", "Projects"), ("https://git.danielmoch.com", "Git"), - ("/rss.xml", "RSS"), ), } diff --git a/themes/djmoch/assets/site.css b/themes/djmoch/assets/site.css @@ -141,6 +141,10 @@ body .sidebar-section { margin-bottom: 3.5em; } +.sidebar-section ul { + list-style: none; + padding-left: 0; +} .sidebar-image { width: 60%; display: block; diff --git a/themes/djmoch/templates/sidebar.tmpl b/themes/djmoch/templates/sidebar.tmpl @@ -13,6 +13,14 @@ </div> </div> <div class="sidebar-section"> + <h2>Links</h2> + <ul style="before: none;"> + <li><a href="/archive.html">Archive</a></li> + <li><a href="/categories">Categories</a></li> + <li><a href="/rss.xml">RSS</a></li> + </ul> + </div> + <div class="sidebar-section"> <h2>License</h2> Content: <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>