summaryrefslogtreecommitdiff
path: root/alabaster-lite
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
parentad678d325bacc7e40da4ae15248570466917b50b (diff)
Move header blocks to sidebar
Diffstat (limited to 'alabaster-lite')
-rw-r--r--alabaster-lite/config.html4
-rw-r--r--alabaster-lite/sidebars/about.html15
-rw-r--r--alabaster-lite/sidebars/title.html12
3 files changed, 16 insertions, 15 deletions
diff --git a/alabaster-lite/config.html b/alabaster-lite/config.html
index 51f1871..10fc18a 100644
--- a/alabaster-lite/config.html
+++ b/alabaster-lite/config.html
@@ -7,7 +7,7 @@
"include_toc": e.include_toc | default(true),
"extra_nav_links": e.extra_nav_links | default({}),
"show_powered_by": e.show_powered_by | default(true),
- "sidebars": e.sidebars | default(["about", "toc"]),
+ "sidebars": e.sidebars | default(["title", "toc"]),
"homepage_nav": e.homepage_nav | default(true),
- "homepage_sidebars": e.homepage_sidebars | default(["about"]),
+ "homepage_sidebars": e.homepage_sidebars | default(["title", "about"]),
}%}
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 %}