File tree Expand file tree Collapse file tree 6 files changed +14
-1
lines changed
exampleSite/layouts/partials Expand file tree Collapse file tree 6 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ When the fix for [#2549](https://github.com/spf13/hugo/issues/2549) is released
2626
2727* ` partials/hook_head_end.html ` is inserted right before the ` head ` end tag. Useful for additional styles etc.
2828* ` partials/hook_body_end.html ` which should be clear by its name.
29+ * ` partials/hook_left_sidebar_start.html ` the start of the left sidebar
30+ * ` partials/hook_left_sidebar_end.html ` the end of the left sidebar
31+ * ` partials/hook_left_sidebar_logo.html ` the log ` img ` source
2932
3033The styles and Javascript import are also put in each partial and as such can be overridden if really needed:
3134
Original file line number Diff line number Diff line change 1+ {{ if getenv "REPOSITORY_URL" -}}
2+ < div style ="margin-left: 20px; margin-top: 20px ">
3+ < a href ="https://www.netlify.com ">
4+ < img src ="https://www.netlify.com/img/global/badges/netlify-dark.svg "/>
5+ </ a >
6+ </ div >
7+ {{ end }}
Original file line number Diff line number Diff line change 1717 </ span >
1818 </ a >
1919 < div class ="tocify-wrapper ">
20- < img src ='{{ relURL "images/logo.png" }} ' />
20+ {{ partial "hook_left_sidebar_start.html" . }}
21+ {{ partial "hook_left_sidebar_logo.html" . }}
2122 {{ with .Site.Params.language_tabs }}
2223 < div class ="lang-selector ">
2324 {{ range . }}
@@ -46,6 +47,7 @@ <h3 class="translations-title">{{ T "translations" (len .Translations ) }}</h3>
4647 {{ end}}
4748 </ ul >
4849 {{ end}}
50+ {{ partial "hook_left_sidebar_end.html" . }}
4951 </ div >
5052 < div class ="page-wrapper ">
5153 < div class ="dark-box "> </ div >
Original file line number Diff line number Diff line change 1+ < img src ='{{ relURL "images/logo.png" }} ' />
You can’t perform that action at this time.
0 commit comments