summaryrefslogtreecommitdiff
path: root/alabaster-lite/sidebars/title.html
diff options
context:
space:
mode:
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 %}