File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 66 {{/* Get all sections on the first level */}}
77 {{ range where .Site.Sections "Section" "documentation" }}
88 < li class ="sidebar__item {{ if or (eq . $currentPage) (.IsAncestor $currentPage) }}active{{ end }}{{ if .Pages }} has-children{{ end }} ">
9- < a href ="{{ .RelPermalink }} " {{ if and (.IsAncestor $currentPage) (not (eq . $currentPage)) }}style ="color: #00122c; "{{ end }} > {{ .Title }}</ a >
9+ < a href ="{{ .RelPermalink }} " {{ if and (.IsAncestor $currentPage) (not (eq . $currentPage)) }}style ="color: #00122c; "{{ end }} > {{ .LinkTitle }}</ a >
1010 {{- if .Pages }}
1111 {{- template "subpages" (dict "parent" . "currentPage" $currentPage "level" 1) }}
1212 {{- end }}
3030 < li class ="sidebar__submenu-item {{ if or (eq . $currentPage) (.IsAncestor $currentPage) }}active{{ end }}{{ if .Pages }} sidebar__submenu-item_parent has-children{{ end }} ">
3131 < a href ="{{ if .IsPage }}{{ .RelPermalink }}{{ else }}#{{end}} ">
3232 < span class ="sidebar__submenu-title " {{ if eq $level 1 }}style ="font-size: 16px; "{{ end }} >
33- {{- if .Title }}
34- {{- .Title }}
35- {{- else if .LinkTitle }}
33+ {{- if .LinkTitle }}
3634 {{- .LinkTitle }}
3735 {{- else }}
3836 {{- .File.BaseFileName | humanize }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ services:
1313 user : " ${UID:-1000}:${GID:-1000}"
1414 environment :
1515 - HUGO_ENABLEGITINFO=false
16- command : server --printMemoryUsage --printPathWarnings --printI18nWarnings --bind=0.0.0.0 -p 1313 --liveReloadPort 80 --noBuildLock --enableGitInfo=false
16+ command : server --renderToMemory --printPathWarnings --printI18nWarnings --bind=0.0.0.0 -p 1313 --liveReloadPort 80 --noBuildLock --enableGitInfo=false
1717 ports :
1818 - " 1313:1313"
1919 - " 1314:1314"
You can’t perform that action at this time.
0 commit comments