diff --git a/exampleSite/layouts/partials/menu-footer.html b/exampleSite/layouts/partials/menu-footer.html index 35fc93e8cf..cb433053e8 100644 --- a/exampleSite/layouts/partials/menu-footer.html +++ b/exampleSite/layouts/partials/menu-footer.html @@ -1,6 +1,6 @@ - Download - Star - Fork -

Built with by Hugo

- \ No newline at end of file + Download + Star + Fork +

Built with by Hugo

+ \ No newline at end of file diff --git a/exampleSite/static/images/logo.svg b/exampleSite/static/images/logo.svg index 0a3ec45e08..48b180dc69 100644 --- a/exampleSite/static/images/logo.svg +++ b/exampleSite/static/images/logo.svg @@ -1,68 +1,7 @@ - - - + + + + + + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5ad3286d5c..c8a2699f55 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -102,10 +102,10 @@ {{- if $parent }} {{- template "breadcrumb" dict "page" $parent "depth" $depth }} {{- end }} -
  • - - - {{ .page.Title }} - {{- if .depth }} > {{- end }} -
  • +
  • + + + {{ .page.Title }} + {{- if .depth }} > {{- end }} +
  • {{- end }} \ No newline at end of file diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index a14b491d9c..c135ea5419 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -1,141 +1,141 @@ - + {{- define "section-tree-nav" }} + {{- $showvisitedlinks := .showvisitedlinks }} + {{- $currentNode := .currentnode }} + {{- $currentFileUniqueID := "" }} + {{- $alwaysopen := .alwaysopen }} + {{- with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }} + {{- with .sect }} + {{- $hidden := and (eq (.Scratch.Get "relearnIsHiddenFromCurrent") true) (not $.showhidden) (not (.IsAncestor $currentNode)) }} + {{- if $hidden }} + {{- else if .IsSection }} + {{- safeHTML .Params.head }} + {{- $currentAlwaysopen := .Params.alwaysopen | default $alwaysopen }} +
  • + + {{ partial "menu-pre.html" . }}{{ or .Params.menuTitle .LinkTitle .Title }}{{ partial "menu-post.html" . }} + {{ if $showvisitedlinks }}{{ end }} + + +
  • + {{- else }} +
  • + + {{ partial "menu-pre.html" . }}{{ or .Params.menuTitle .LinkTitle .Title }}{{ partial "menu-post.html" . }} + {{ if $showvisitedlinks }}{{ end }} + +
  • + {{- end }} + {{- end }} + {{- end }} \ No newline at end of file diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 060da3ac88..62b7462b16 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,16 +1,16 @@ - - {{- $assetBusting := not .Site.Params.disableAssetsBusting }} - - - - \ No newline at end of file + + {{- $assetBusting := not .Site.Params.disableAssetsBusting }} + + + + \ No newline at end of file diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index aa99fb9018..677562029c 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,6 +1,6 @@ -
    -
    +
    +
    {{ .TableOfContents }} -
    -
    \ No newline at end of file +
    +
    \ No newline at end of file