Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e123a30b7 | ||
|
|
e409eddf5c |
@@ -1,4 +1,4 @@
|
|||||||
{{- $ThemeVersion := "4.0.2" -}}
|
{{- $ThemeVersion := "4.0.3" -}}
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<section class="copyright">
|
<section class="copyright">
|
||||||
©
|
©
|
||||||
|
|||||||
+1
-2
@@ -15,8 +15,7 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- $TOCManuallyDisabled := eq .Params.toc false -}}
|
{{- $TOCEnabled := and (default .Site.Params.article.toc .Params.toc) $TOCWidgetEnabled -}}
|
||||||
{{- $TOCEnabled := and (not $TOCManuallyDisabled) $TOCWidgetEnabled -}}
|
|
||||||
{{- $hasTOC := ge (len .TableOfContents) 100 -}}
|
{{- $hasTOC := ge (len .TableOfContents) 100 -}}
|
||||||
{{- .Scratch.Set "TOCEnabled" (and $TOCEnabled $hasTOC) -}}
|
{{- .Scratch.Set "TOCEnabled" (and $TOCEnabled $hasTOC) -}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user