summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/partials/sidebar.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials/sidebar.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/sidebar.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/sidebar.html b/themes/danix-xyz-hacker/layouts/partials/sidebar.html
index 2ec48a6..f80c2cf 100644
--- a/themes/danix-xyz-hacker/layouts/partials/sidebar.html
+++ b/themes/danix-xyz-hacker/layouts/partials/sidebar.html
@@ -1,20 +1,23 @@
<aside class="order-last md:order-none md:col-span-1">
<!-- Author info widget (optional - can be expanded) -->
- <div class="p-4 border border-border/30 rounded mb-6">
- <h3 class="text-lg font-semibold text-accent mb-3">{{ i18n "author" }}</h3>
+ <div class="sidebar-widget">
+ <p class="sidebar-widget-label"># {{ i18n "author" }}</p>
<p class="text-text-dim text-sm leading-relaxed">
{{ .Site.Params.author }}
</p>
</div>
+ <hr class="sidebar-hr">
+
<!-- Social sharing widget -->
{{ partial "social-share.html" (dict "page" . "mode" "sidebar") }}
<!-- Related posts widget (articles only) -->
{{ if and .Site.Params.relatedPosts (eq .Type "articles") }}
{{ $related := first 5 (.Site.RegularPages.Related .) }}
- <div class="p-4 border border-border/30 rounded mb-6">
- <h3 class="text-lg font-semibold text-accent mb-3">{{ i18n "relatedPosts" }}</h3>
+ <hr class="sidebar-hr">
+ <div class="sidebar-widget">
+ <p class="sidebar-widget-label"># {{ i18n "relatedPosts" }}</p>
{{ if $related }}
<ul class="space-y-3">
{{ range $related }}