Delete unnecessary sass files, shortcodes, and partials

This commit is contained in:
Ryan Watters
2017-02-27 01:27:34 -06:00
parent cd4613d84a
commit c41585f83f
6 changed files with 0 additions and 45 deletions
@@ -1 +0,0 @@
{{partial "lookup-explanation-markdown.html" . | markdownify}}
-6
View File
@@ -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 isnt 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/<THEME>/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
@@ -1,2 +0,0 @@
{{ define "main" }}
{{ end }}
@@ -1,18 +0,0 @@
{{ define "main" }}
<main class="main">
<div class="content">
<header class="content-header">
{{partial "breadcrumb.html" . }}
<h1 class="page-title {{if eq .Kind "page"}}{{.Section}}{{end}}" id="{{ .Title | urlize }}">
{{- partial "list-icon.html" . -}}
{{- .Title | markdownify -}}</h1>
{{partial "content-header-links.html" . }}
{{partial "tags.html" . }}
</header>
<div class="body-copy">
{{.Content}}
{{partial "contents-list.html" .}}
</div>
</div>
</main>
{{ end }}
@@ -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;
// }
// }
// }
-1
View File
@@ -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