diff --git a/layouts/shortcodes/lookupexplanation.html b/layouts/shortcodes/lookupexplanation.html deleted file mode 100644 index 1b8cae63f..000000000 --- a/layouts/shortcodes/lookupexplanation.html +++ /dev/null @@ -1 +0,0 @@ -{{partial "lookup-explanation-markdown.html" . | markdownify}} \ No newline at end of file diff --git a/readfile-content/lookupexplanation.md b/readfile-content/lookupexplanation.md deleted file mode 100644 index 379aa4bb4..000000000 --- a/readfile-content/lookupexplanation.md +++ /dev/null @@ -1,6 +0,0 @@ -Hugo uses a prioritized list called the *lookup order* as it traverses your files looking for the appropriate template to render your content. The template lookup order is an inverted cascade: if template A isn’t present or specified, Hugo will look to template B. If template B isn't present or specified, Hugo will look for template C, and so on until it reaches the `layouts/_default/` directory for your project, or in the case of themes, `themes//layouts/_default/`. In many ways, the lookup order is similar to the [control mechanism of a switch statement (i.e. without fallthrough)][switch] seen in many programming languages. - -The power of the lookup order is that it enables you to craft specific layouts as needed without creating more templating than necessary, thereby keeping your templating [DRY][dry]. *Most sites will only need the default template files at the end of the lookup* (i.e. `_default/*.html`). - -[dry]: https://en.wikipedia.org/wiki/Don%27t_repeat_yourself -[switch]: https://en.wikipedia.org/wiki/Switch_statement#Fallthrough \ No newline at end of file diff --git a/themes/hugodocs/layouts/_default/singlescroller.html b/themes/hugodocs/layouts/_default/singlescroller.html deleted file mode 100644 index f319bf97c..000000000 --- a/themes/hugodocs/layouts/_default/singlescroller.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ define "main" }} -{{ end }} \ No newline at end of file diff --git a/themes/hugodocs/layouts/section/commands.html b/themes/hugodocs/layouts/section/commands.html deleted file mode 100644 index 8266f52c0..000000000 --- a/themes/hugodocs/layouts/section/commands.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ define "main" }} -
-
-
- {{partial "breadcrumb.html" . }} -

- {{- partial "list-icon.html" . -}} - {{- .Title | markdownify -}}

- {{partial "content-header-links.html" . }} - {{partial "tags.html" . }} -
-
- {{.Content}} - {{partial "contents-list.html" .}} -
-
-
-{{ end }} \ No newline at end of file diff --git a/themes/hugodocs/pipeline/scss/components/_lookup-explanation.scss b/themes/hugodocs/pipeline/scss/components/_lookup-explanation.scss deleted file mode 100644 index c58e157b2..000000000 --- a/themes/hugodocs/pipeline/scss/components/_lookup-explanation.scss +++ /dev/null @@ -1,17 +0,0 @@ -// #lookup-explanation { -// padding:0em; -// background-color: $hugo-blue-ultra-light; -// h2 { -// font-size: 1.3em; -// padding:0px; -// margin-bottom:0px; -// background-color: $hugo-blue; -// color:$hugo-white; -// } -// .inner-content { -// padding:.5em; -// p { -// margin-bottom:1em; -// } -// } -// } \ No newline at end of file diff --git a/themes/hugodocs/pipeline/scss/style.scss b/themes/hugodocs/pipeline/scss/style.scss index 80f6bf1ab..95170b29e 100644 --- a/themes/hugodocs/pipeline/scss/style.scss +++ b/themes/hugodocs/pipeline/scss/style.scss @@ -33,7 +33,6 @@ @import 'components/breadcrumb'; @import 'components/tables'; @import 'vendor/featherlight.scss'; -@import 'components/lookup-explanation'; @import 'components/shortcode-examples'; //major layout parts/chrome