diff --git a/layouts/partials/toc.html.rej b/layouts/partials/toc.html.rej deleted file mode 100644 index 8b87212..0000000 --- a/layouts/partials/toc.html.rej +++ /dev/null @@ -1,28 +0,0 @@ -diff a/layouts/partials/toc.html b/layouts/partials/toc.html (rejected hunks) -@@ -1,10 +1,21 @@ --{{ $toc := and ($.Site.Params.toc) (ge .WordCount $.Site.Params.tocWordCount) }} {{ if isset .Params "toc" }} {{ $toc = .Params.toc }} {{ end }} {{ if $toc }} --
-- Table of Contents --
{{ .TableOfContents }}
--
-+{{ $toc := and ($.Site.Params.toc) (ge .WordCount $.Site.Params.tocWordCount) }} -+{{ if isset .Params "toc" }} -+ {{ $toc = .Params.toc }} -+{{ end }} -+ -+ -+{{ if $toc }} -+ {{ $tocContent := .TableOfContents }} -+ {{ if findRE "
  • " $tocContent }} -+ -+
    -+ Table of Contents -+
    {{ .TableOfContents }}
    -+
    -+ {{ end }} - {{ end }} - -+ -