summaryrefslogtreecommitdiff
path: root/templates/sidebar.html.j2
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-09-07 18:10:54 +0200
committerBotond Hende <nettingman@gmail.com>2024-09-07 18:10:54 +0200
commitb982508df0c4514544c1c5b0fff2573147d34e67 (patch)
tree94ae75aa01ee96d09bcbbf6797d8846db3fdff70 /templates/sidebar.html.j2
parentdecab05a85ea33eeffe75b6275678463277576b6 (diff)
light theme support
Diffstat (limited to 'templates/sidebar.html.j2')
-rw-r--r--templates/sidebar.html.j212
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/sidebar.html.j2 b/templates/sidebar.html.j2
index fdb1b4b..f675735 100644
--- a/templates/sidebar.html.j2
+++ b/templates/sidebar.html.j2
@@ -22,8 +22,18 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself
<span>Git repositories</span>
</a>
<h3 class="magenta">Top tags</h3>
+<p>ls <a href="/tags">~/tags/</a></p>
<p>{% for tag in site.top_tags %}<a href="/tags/{{ tag }}.html">{{ tag }}/</a>{% if not loop.last %} {% endif %}{% endfor %}</p>
-<p>more: cd <a href="/tags">~/tags</a></p>
+<h3 class="magenta">I want different colors</h3>
+<p>~/themes/</p>
+<a href="javascript:void(0);" class="icon-text theme-selector-light" onclick="setTheme('light')">
+ <img src="/assets/image/sun.svg" class="svg-icon" />
+ <span>sweet-celestia.sh</span>
+</a>
+<a href="javascript:void(0);" class="icon-text theme-selector-dark" onclick="setTheme('dark')">
+ <img src="/assets/image/moon.svg" class="svg-icon" />
+ <span>luna-eclipsed.sh</span>
+</a>
<h3 class="magenta">Never miss a post</h3>
<a href="/feed.xml" class="icon-text">
<img src="/assets/image/rss.svg" class="svg-icon" />