mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Update breadcrumb colors
This commit is contained in:
1 parent
1f50dca47f
commit
0d0973d119
20 files changed
+36
-32
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Content Management: Introduction"
|
||||
linktitle: "Content Management: Introduction"
|
||||
title: "Content Management"
|
||||
linktitle: "Content Management"
|
||||
description: An introduction to how Hugo expects you to organize your content.
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
|
||||
@@ -20,10 +20,7 @@ A good example of when multiple types are needed is to look at [Tumblr][]. A pie
|
||||
|
||||
## Assigning a content type
|
||||
|
||||
Hugo assumes that your site will be organized into [sections](/content/sections/)
|
||||
and each section will use the corresponding type. If you are taking advantage of
|
||||
this, then each new piece of content you place into a section will automatically
|
||||
inherit the type.
|
||||
Hugo assumes that your site will be organized into [sections][] and each section will use the corresponding type. If you are taking advantage of this, then each new piece of content you place into a section will automatically inherit the type.
|
||||
|
||||
Alternatively, you can set the type in the meta data under the key "`type`".
|
||||
|
||||
@@ -65,6 +62,7 @@ Create a file called <code><em>type</em>.md</code> in the `/archetypes` director
|
||||
More details about archetypes can be found at the [archetypes docs](/content/archetypes/).
|
||||
|
||||
[archetypes]: /content-management/archetypes/
|
||||
[sections]: /content-sections/
|
||||
[front matter]: /content-management/front-matter/
|
||||
[list of contents on a single page]: /templates/list-and-section-templates/
|
||||
[template]: /templates/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Overview
|
||||
linktitle: Overview
|
||||
title: Functions
|
||||
linktitle: Functions
|
||||
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Getting Started: Using the Docs"
|
||||
linktitle: "Getting Started: Using the Docs"
|
||||
title: "Getting Started"
|
||||
linktitle: "Getting Started"
|
||||
description: Quick start and guides for installing Hugo on your preferred operating system.
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Hosting and Deployment
|
||||
linktitle:
|
||||
description: Site builds, automated deployments, and popular hosting solutions.
|
||||
date: 2016-11-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: News and Articles
|
||||
linktitle:
|
||||
description: Articles where Hugo is featured, as well as news and updates on the project itself.
|
||||
date: 2017-02-01
|
||||
@@ -7,6 +7,7 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
tags: []
|
||||
categories: []
|
||||
hidesectioncontents: false
|
||||
weight: 01
|
||||
draft: false
|
||||
slug:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Project Organization: New Sites"
|
||||
linktitle: "Project Organization: New Sites"
|
||||
title: "Project Organization"
|
||||
linktitle: "Project Organization"
|
||||
description: Scaffolding new projects, configuration, and source organization.
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
@@ -9,6 +9,7 @@ weight: 01
|
||||
tags: []
|
||||
categories: []
|
||||
draft: false
|
||||
hidesectioncontents: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
|
||||
@@ -9,6 +9,7 @@ tags: []
|
||||
categories: []
|
||||
weight: 01
|
||||
draft: false
|
||||
hidesectioncontents: false
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
|
||||
@@ -7,6 +7,7 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight: 01
|
||||
tags: []
|
||||
hidesectioncontents: false
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
|
||||
@@ -7,6 +7,7 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
hidesectioncontents: false
|
||||
slug:
|
||||
aliases: [/troubleshooting/faqs/,/faqs/]
|
||||
notes:
|
||||
|
||||
@@ -8,6 +8,7 @@ lastmod: 2017-02-01
|
||||
tags: [tutorials,learning]
|
||||
weight:
|
||||
draft: false
|
||||
hidesectioncontents: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
|
||||
@@ -9,6 +9,7 @@ weight: 01
|
||||
draft: false
|
||||
slug:
|
||||
aliases: []
|
||||
hidesectioncontents: false
|
||||
notes:
|
||||
---
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<footer id="content-footer">
|
||||
{{$section := replace (replace .Section "-" " " | title) "And" "and"}}
|
||||
{{ if .NextInSection }}
|
||||
<a href="{{.NextInSection.Permalink}}" data-tooltip="{{$section}}: {{.NextInSection.Title}}" class="tooltip prev-and-next-link prev-page">
|
||||
<a href="{{.NextInSection.Permalink}}" data-tooltip="{{.NextInSection.Title}}" class="tooltip prev-and-next-link prev-page">
|
||||
<div>
|
||||
<span><i class="fa fa-chevron-left"></i> Previous</span>
|
||||
</div>
|
||||
</a>
|
||||
{{ else if eq .Kind "page" }}
|
||||
{{ with .Site.GetPage "section" .Section }}
|
||||
<a href="{{.Permalink}}" data-tooltip="{{$section}}: {{.Title}}" class="tooltip prev-and-next-link prev-page">
|
||||
<a href="{{.Permalink}}" data-tooltip="{{.Title}}" class="tooltip prev-and-next-link prev-page">
|
||||
<div>
|
||||
<span><i class="fa fa-chevron-left"></i> Previous</span>
|
||||
</div>
|
||||
@@ -17,7 +17,7 @@
|
||||
{{ end }}
|
||||
<span class="last-modified">Last Updated: {{with .Lastmod}}{{.Format "2006-01-02"}}{{else}}{{.PublishDate.Format "2006-01-02"}}{{end}}</span>
|
||||
{{ with .PrevInSection }}
|
||||
<a href="{{.Permalink}}" data-tooltip="{{$section}}: {{.Title}}" class="tooltip prev-and-next-link next-page">
|
||||
<a href="{{.Permalink}}" data-tooltip="{{.Title}}" class="tooltip prev-and-next-link next-page">
|
||||
<div>
|
||||
<span>Next <i class="fa fa-chevron-right"></i></span>
|
||||
</div>
|
||||
@@ -25,7 +25,7 @@
|
||||
{{ end }}
|
||||
{{if eq .Kind "section"}}
|
||||
{{ range first 1 .Data.Pages }}
|
||||
<a href="{{.Permalink}}" data-tooltip="{{$section}}: {{.Title}}" class="tooltip prev-and-next-link next-page">
|
||||
<a href="{{.Permalink}}" data-tooltip="{{.Title}}" class="tooltip prev-and-next-link next-page">
|
||||
<div>
|
||||
<span>Next <i class="fa fa-chevron-right"></i></span>
|
||||
</div>
|
||||
|
||||
@@ -15,6 +15,7 @@ $hugo-pink:#C9177E;
|
||||
$hugo-pink-light:#ff4088;
|
||||
$hugo-blue:#0083C0;
|
||||
$hugo-blue-light:#0594CB;
|
||||
$hugo-blue-ultra-light:#D1F1FE;
|
||||
$hugo-yellow:#FCD804;
|
||||
$hugo-gold:#EBB951;
|
||||
$hugo-gray:#737373;
|
||||
@@ -62,14 +63,13 @@ $code-base-font-color:$hugo-pink-light;
|
||||
$inline-code-text-color:$base-font-color;
|
||||
$inline-code-background-color:lighten($hugo-gray-light,21%);
|
||||
|
||||
//Sidebar
|
||||
//Sidebar & Breadcrumb
|
||||
$site-navigation-width: 280px;
|
||||
$content-max-width: 35em;
|
||||
$site-navigation-bg-color:$hugo-gray-ultra-light;
|
||||
$breadcrumb-navigation-bg-color:$site-navigation-bg-color;
|
||||
$breadcrumb-navigation-bg-color-active:#D1F1FE;
|
||||
// $breadcrumb-navigation-bg-color-active:$hugo-blue-light;
|
||||
$breadcrumb-navigation-text-color-active:$base-font-color;
|
||||
$breadcrumb-navigation-bg-color:$hugo-blue-ultra-light;
|
||||
$breadcrumb-navigation-bg-color-active:$hugo-blue;
|
||||
$breadcrumb-navigation-text-color-active:$hugo-white;
|
||||
|
||||
//Header
|
||||
$site-header-height:50px;
|
||||
|
||||
@@ -27,15 +27,15 @@
|
||||
&:nth-child(even) {
|
||||
margin-left:-8px;
|
||||
a {
|
||||
background-color: $hugo-gray-ultra-light;
|
||||
background-color: $breadcrumb-navigation-bg-color;
|
||||
&:before {
|
||||
border-color: $hugo-gray-ultra-light;
|
||||
border-color: $breadcrumb-navigation-bg-color;
|
||||
border-left-color: transparent;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
&:after {
|
||||
border-left-color: $hugo-gray-ultra-light;
|
||||
border-left-color: $breadcrumb-navigation-bg-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -63,7 +63,7 @@
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
border: 0 solid $hugo-gray-ultra-light;
|
||||
border: 0 solid $breadcrumb-navigation-bg-color;
|
||||
border-width: 15px 6.666px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
@@ -75,7 +75,7 @@
|
||||
&:after {
|
||||
left: 100%;
|
||||
border-color: transparent;
|
||||
border-left-color: $hugo-gray-ultra-light;
|
||||
border-left-color: $breadcrumb-navigation-bg-color;
|
||||
}
|
||||
&:hover {
|
||||
background-color: $breadcrumb-navigation-bg-color-active;
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
margin-bottom: 3em;
|
||||
width:100%;
|
||||
.prev-and-next-link {
|
||||
// background-color: orange;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
@@ -38,7 +37,6 @@
|
||||
.last-modified {
|
||||
color: $hugo-gray;
|
||||
display: inline-block;
|
||||
min-width: 200px;
|
||||
width: 200px;
|
||||
max-width: 200px;
|
||||
font-size: .8em;
|
||||
|
||||
File renamed without changes.
@@ -106,6 +106,7 @@ header.content-header {
|
||||
}
|
||||
|
||||
.body-copy {
|
||||
margin-top:1.5em;
|
||||
margin-bottom: 2.5em;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
@import 'components/site-search';
|
||||
@import 'components/keyboard';
|
||||
@import 'components/table-of-contents';
|
||||
@import 'components/taxonomy-lists';
|
||||
@import 'components/contents-list';
|
||||
@import 'components/content-footer.scss';
|
||||
@import 'components/blockquotes';
|
||||
@import 'components/breadcrumb';
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px !important;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80aLine truncated
|
||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px !important;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80aLine truncated
|
||||
Reference in new issue
Block a user