From 1cbccec3c5b80737a4eacb89a6fa93996fea6b7a Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Mon, 20 Mar 2017 18:02:49 -0500 Subject: [PATCH] Add back embedded crp in site header, perf test --- content/templates/section-templates.md | 7 +-- layouts/partials/hugo-logo-wide.svg | 14 ++++++ layouts/partials/site-header.html | 3 +- layouts/partials/style-embed.html | 2 +- layouts/partials/svg-icons/hugo-logo-wide.svg | 45 ++++++------------- pipeline/scss/layout/_site-header.scss | 2 +- static/css/style.min.css | 2 +- 7 files changed, 36 insertions(+), 39 deletions(-) create mode 100644 layouts/partials/hugo-logo-wide.svg diff --git a/content/templates/section-templates.md b/content/templates/section-templates.md index a91ac11c5..6765f57ad 100644 --- a/content/templates/section-templates.md +++ b/content/templates/section-templates.md @@ -15,9 +15,10 @@ toc: true Templates used for section pages are *lists* and therefore have all the variables and methods available to [list pages][lists]. -{{% note "Section Pages Pull Content from `_index.md`" %}} -To effectively leverage section page templates, you should first understand Hugo's [content organization][contentorg] and, specifically, the purpose of `_index.md` for adding content and front matter to section and other list pages. -{{% /note %}} +## Adding Content to Section Templates + +To effectively leverage section page templates, you should first understand Hugo's [content organization](/content-management/organization/) and, specifically, the purpose of `_index.md` for adding content and front matter to section and other list pages. + ## Section Template Lookup Order diff --git a/layouts/partials/hugo-logo-wide.svg b/layouts/partials/hugo-logo-wide.svg new file mode 100644 index 000000000..a81a6c23a --- /dev/null +++ b/layouts/partials/hugo-logo-wide.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index 6d1df5bd4..bdbb7dce9 100644 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -2,7 +2,8 @@