File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 55 {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}}
66 {{- $commitPath := default "commit" .Site.Params.BookCommitPath -}}
77 < a class ="flex align-center " href ="{{ .Site.Params.BookRepo }}/{{ $commitPath }}/{{ .GitInfo.Hash }} " title ='{{ i18n "Last modified by" }} {{ .GitInfo.AuthorName }} | {{ $date }} ' target ="_blank " rel ="noopener ">
8- < img src ="{{ " svg / calendar.svg" | relURL }}" class="book-icon " alt ="Calendar " />
8+ < img src ="{{ partial " docs /icon" " calendar" }}" class="book-icon " alt ="{{ partial " docs /text/i18n" " Calendar" }} " />
99 < span > {{ $date }}</ span >
1010 </ a >
1111 </ div >
1414{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
1515 < div >
1616 < a class ="flex align-center " href ="{{ .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}/{{ .Site.Params.contentDir | default "content " }}/{{ replace .File.Path "\\" "/" }}" target="_blank " rel ="noopener ">
17- < img src ="{{ " svg / edit.svg" | relURL }}" class="book-icon " alt ="Edit " />
17+ < img src ="{{ partial " docs /icon" " edit" }}" class="book-icon " alt ="{{ partial " docs /text/i18n" " Edit" }} " />
1818 < span > {{ i18n "Edit this page" }}</ span >
1919 </ a >
2020 </ div >
Original file line number Diff line number Diff line change 11< div class ="flex align-center justify-between ">
22 < label for ="menu-control ">
3- < img src ="{{ " svg / menu.svg" | relURL }}" class="book-icon " alt ="Menu " />
3+ < img src ="{{ partial " docs /icon" " menu" }}" class="book-icon " alt ="{{ partial " docs /text/i18n" " Menu" }} " />
44 </ label >
55
6- < strong > {{ partial "docs/title" . }}</ strong >
6+ < h3 > {{ partial "docs/title" . }}</ h3 >
77
88 < label for ="toc-control ">
9- {{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
10- < img src ="{{ " svg / toc.svg" | relURL }}" class="book-icon " alt ="Table of Contents " />
9+ {{ if partial "docs/toc-show" . }}
10+ < img src ="{{ partial " docs /icon" " toc" }}" class="book-icon " alt ="{{ partial " docs /text/i18n" " Table of Contents" }} " />
1111 {{ end }}
1212 </ label >
1313</ div >
Original file line number Diff line number Diff line change 1515 < input type ="checkbox " id ="languages " class ="toggle " />
1616 < label for ="languages " class ="flex justify-between ">
1717 < a role ="button " class ="flex align-center ">
18- < img src ="{{ " svg / translate.svg" | relURL }}" class="book-icon " alt ="Languages " />
18+ < img src ="{{ partial " docs /icon" " translate" }}" class="book-icon " alt ="{{ partial " docs /text/i18n" " Languages" }} " />
1919 {{ $.Site.Language.LanguageName }}
2020 </ a >
2121 </ label >
You can’t perform that action at this time.
0 commit comments