diff options
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials/sidebar.html')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/partials/sidebar.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/sidebar.html b/themes/danix-xyz-hacker/layouts/partials/sidebar.html new file mode 100644 index 0000000..f552df9 --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/partials/sidebar.html @@ -0,0 +1,22 @@ +<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> + <p class="text-text-dim text-sm leading-relaxed"> + {{ .Site.Params.author }} + </p> + </div> + + <!-- Related posts widget (optional) --> + {{ if .Site.Params.relatedPosts }} + {{ $related := .GetTerms "tags" }} + {{ if $related }} + <div class="p-4 border border-border/30 rounded"> + <h3 class="text-lg font-semibold text-accent mb-3">{{ i18n "relatedPosts" }}</h3> + <div class="space-y-2"> + <!-- Related articles can be implemented here --> + </div> + </div> + {{ end }} + {{ end }} +</aside> |
