summaryrefslogtreecommitdiff
path: root/alabaster-lite/sidebars
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
parentad678d325bacc7e40da4ae15248570466917b50b (diff)
Move header blocks to sidebar
Diffstat (limited to 'alabaster-lite/sidebars')
-rw-r--r--alabaster-lite/sidebars/about.html15
-rw-r--r--alabaster-lite/sidebars/title.html12
2 files changed, 14 insertions, 13 deletions
diff --git a/alabaster-lite/sidebars/about.html b/alabaster-lite/sidebars/about.html
index 89de15b..ed6cb0e 100644
--- a/alabaster-lite/sidebars/about.html
+++ b/alabaster-lite/sidebars/about.html
@@ -1,19 +1,8 @@
-{% 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 %}
-
<p class="blurb">This is technically a blog.</p>
<ul>
<li><a href="/about">About Me</a></li>
<li><a href="/feed/atom.xml">Atom Feed</a></li>
+ <li><a href="/links">Links</a></li>
+ <li><a href="/x">~x</a></li>
</ul>
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 %}