File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11< div role ="navigation " aria-label ="Main ">
22 < div class ="nav-left ">
3- < a href ="{{- (index .Ancestors.Reverse 0 ).RelPermalink -}} " style ="color: inherit; "> {{- site.Title -}}</ a >
3+ < a href ="{{- absURL "/" -}}" style="color: inherit;"> {{- site.Title -}}</ a >
44 </ div >
55 < div class ="nav-right ">
66 < div id ="nav-dropdown-menu " class ="hidden " href ="# ">
Original file line number Diff line number Diff line change 88< script >
99 function searchBarSubmit ( event ) {
1010 event . preventDefault ( ) ;
11- const relativeUrl = `/ {{- site.Params.rtwt.searchPath -}}/?q=${ encodeURIComponent ( event . target . elements [ 'searchInput' ] . value ) } ` ;
11+ const relativeUrl = `{{- absURL site.Params.rtwt.searchPath -}}/?q=${ encodeURIComponent ( event . target . elements [ 'searchInput' ] . value ) } ` ;
1212 window . location . href = relativeUrl ;
1313 }
1414</ script >
Original file line number Diff line number Diff line change 1+ {{- $baseURL := .Site.BaseURL -}}
12{{- if site.Params.rtwt.side.single.showDetails -}}
23 < div class ="side-details ">
34 < span > {{- .WordCount }} {{ i18n "details_words" -}}</ span >
89 < small >
910 {{- $k -}}:
1011 {{ range (index page.Params $k) -}}
11- < span class ="details-taxonomy "> < a href ="/ {{- $k | urlize -}}/{{- . | urlize -}} "> {{- . -}}</ a > </ span >
12+ < span class ="details-taxonomy "> < a href ="{{- absURL (printf " %s /%s" ( $k | urlize) ( . | urlize)) -}}"> {{- . -}}</ a > </ span >
1213 {{- end -}}
1314 </ small >
1415 </ div >
You can’t perform that action at this time.
0 commit comments