Skip to content

Commit 2a192eb

Browse files
Robert Feketechalin
authored andcommitted
Adds hooks and placeholder files to include custom elements in the right sidebar
1 parent 03221fd commit 2a192eb

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

layouts/docs/baseof.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
{{ partial "sidebar.html" . }}
1818
</aside>
1919
<aside class="d-none d-xl-block col-xl-2 td-sidebar-toc d-print-none">
20+
{{ partial "hooks/custom-right-sidebar-elements-top.html" . }}
2021
{{ partial "page-meta-links.html" . }}
2122
{{ partial "toc.html" . }}
2223
{{ partial "taxonomy_terms_clouds.html" . }}
24+
{{ partial "hooks/custom-right-sidebar-elements-bottom.html" . }}
2325
</aside>
2426
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
2527
{{ partial "version-banner.html" . }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{/* Placeholder file to override. Used to add custom HTML elements to the bottom of the right sidebar. */}}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{/* Placeholder file to override. Used to add custom HTML elements to the top of the right sidebar. */}}

0 commit comments

Comments
 (0)