Add back embedded crp in site header, perf test

This commit is contained in:
Ryan Watters
2017-03-20 18:02:49 -05:00
parent b56a888e44
commit 1cbccec3c5
7 changed files with 36 additions and 39 deletions
+4 -3
View File
@@ -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
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 111 KiB

+2 -1
View File
@@ -2,7 +2,8 @@
<header id="site-header" class="site-header">
<div class="hugo-meta" title="Hugo version {{$version}}">
<a href="/" id="home-link">
<img src="{{ "images/hugo-icons/hugo-logo-wide.svg" | relURL }}" alt="The official wide logo for Hugo">v{{$version}}</span>
<!-- <img src="{{ "images/hugo-icons/hugo-logo-wide.svg" | relURL }}" alt="The official wide logo for Hugo"> -->
{{ partial "svg-icons/hugo-logo-wide.svg" . }}v{{$version}}</span>
</a>
<!-- From https://buttons.github.io/. -->
<!-- <a class="github-button" href="https://github.com/spf13/hugo" data-icon="octicon-star" data-style="mega" data-count-href="/spf13/hugo/stargazers" data-count-api="/repos/spf13/hugo#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star spf13/hugo on GitHub">Star</a> -->
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 260 KiB

After

Width:  |  Height:  |  Size: 111 KiB

+1 -1
View File
@@ -48,7 +48,7 @@
align-items: center;
font-size: .8em;
margin-left: -1em;
img {
img,svg {
height: $site-header-height * .7;
max-height: $site-header-height * .7;
margin-right: .25em;
+1 -1
View File
File diff suppressed because one or more lines are too long