summaryrefslogtreecommitdiff
path: root/alabaster-lite/sidebars/title.html
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-11-13 18:29:04 -0500
committerFrederick Yin <fkfd@fkfd.me>2023-11-13 18:29:04 -0500
commit28b8721794bb8a4186ae10814f510806142a4815 (patch)
tree57dda99aa7b7f497d8bcff212589806947f5c060 /alabaster-lite/sidebars/title.html
parentad678d325bacc7e40da4ae15248570466917b50b (diff)
Move header blocks to sidebar
Diffstat (limited to 'alabaster-lite/sidebars/title.html')
-rw-r--r--alabaster-lite/sidebars/title.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/alabaster-lite/sidebars/title.html b/alabaster-lite/sidebars/title.html
new file mode 100644
index 0000000..becb5b3
--- /dev/null
+++ b/alabaster-lite/sidebars/title.html
@@ -0,0 +1,12 @@
+{% if theme.logo %}
+ <p class="logo">
+ <a href="{{nav.homepage.url|url}}">
+ <img class="logo" src="{{base_url}}/{{theme.logo}}" title="{{theme.logo_title}}">
+ </a>
+ </p>
+ {% if theme.logo_name %}
+ <h1 class="logo">{{ config.site_name }}</h1>
+ {% endif %}
+{% else %}
+ <h1 class="logo"><a href="{{nav.homepage.url|url}}">{{ config.site_name }}</a></h1>
+{% endif %}