Add first round of single files for functions

This commit is contained in:
Ryan Watters 2017-01-11 14:17:53 -06:00
parent b854438906
commit 0d0e069960
532 changed files with 171 additions and 100 deletions

View File

@ -61,9 +61,9 @@ watch = true
## Include jQuery 2.2.4 in your site head. (see /static/assets/js)
includejq = true
## Date the Site is Published, use YYYY-MM-DD
SitePublishDate = ""
sitepublishdate = ""
## Twitter handle without the "@"
TwitterHandle = ""
twitterhandle = ""
## Facebook URL
facebook = ""
## Default Image for Social Sharing. This image should live at static/images/

View File

@ -16,19 +16,18 @@ aliases: []
notes:
---
Hugo boasts the following features:
### General
## General
* Extremely fast build times (≈1 ms per page)
* Completely cross platform: Runs on <i class="fa fa-apple"></i>&nbsp;Mac OS&nbsp;X, <i class="fa fa-linux"></i>&nbsp;Linux, <i class="fa fa-windows"></i>&nbsp;Windows, and more!
* Easy [installation](/overview/installing/)
* Render changes [on the fly](/overview/usage/) with [LiveReload](/extras/livereload/) as you develop
* [Powerful Theming][]
* Host your site anywhere
* Extremely fast build times (≈1 ms per page)
* Completely cross platform: Runs on <i class="fa fa-apple"></i>&nbsp;Mac OS&nbsp;X, <i class="fa fa-linux"></i>&nbsp;Linux, <i class="fa fa-windows"></i>&nbsp;Windows, and more!
* Easy [installation](/overview/installing/)
* Render changes [on the fly](/overview/usage/) with [LiveReload](/extras/livereload/) as you develop
* [Powerful Theming][]
* Host your site anywhere
### Organization
## Organization
* Straightforward [organization](/project-organization), including website sections
* Customizable [URLs](/extras/urls/)
@ -40,7 +39,7 @@ Hugo boasts the following features:
* [Permalink](/extras/permalinks/) pattern support
* [Aliases](/extras/aliases/) (redirects)
### Content
## Content
* Native [Markdown](/content/example/) support
* Support for other languages through _external helpers_, see [supported formats](/content/supported-formats)
@ -52,7 +51,7 @@ Hugo boasts the following features:
* ["Minutes to Read"](/layout/variables/) functionality
* ["Wordcount"](/layout/variables/) functionality
### Additional Features
## Additional Features
* Integrated [Disqus](https://disqus.com/) comment support
* Integrated [Google Analytics](https://google-analytics.com/) support
@ -60,6 +59,7 @@ Hugo boasts the following features:
* Support for [Go](http://golang.org/pkg/html/template/), [Amber](https://github.com/eknkc/amber) and [Ace](https://github.com/yosssi/ace) HTML templates
* Syntax [highlighting](/extras/highlighting/) powered by [Pygments](http://pygments.org/)
See what's coming next in the [roadmap](/meta/roadmap/).
See what's coming next in the [Hugo roadmap][].
[Powerful Theming]: /themes
[Powerful Theming]: /themes
[Hugo roadmap]: /about/roadmap

View File

@ -1,16 +1,18 @@
---
aliases: []
date: 2016-12-26T06:42:59-06:00
description: null
title: Content
linktitle:
description: How content is organized and managed with Hugo.
date: 2017-01-09
publishdate: 2017-01-09
lastmod: 2017-01-09
tags: [content, source, organization]
categories: [content]
weight: 01
draft: false
lastmod: 2017-01-01
linktitle: null
notes: null
publishdate: 2017-01-01
qr_description: null
qr_returns: null
slug: null
title: _index
weight: 1
slug:
aliases: []
notes:
---

View File

@ -0,0 +1,16 @@
---
title: Archetypes
linktitle:
description: Archetypes allow you to create and set default parameters from the command line according to the content section.
date: 2017-01-09
publishdate: 2017-01-09
lastmod: 2017-01-09
tags: [archetypes,generators]
categories: [content]
weight: 50
draft: false
slug:
aliases: []
notes:
---

View File

@ -0,0 +1,15 @@
---
title: Content Summaries
linktitle:
description:
date: 2017-01-10
publishdate: 2017-01-10
lastmod: 2017-01-10
tags: []
categories: []
weight:
draft: false
slug:
aliases: []
notes:
---

View File

@ -0,0 +1,18 @@
---
title: Front Matter
linktitle:
description: Hugo allows you to add front matter in yaml, toml, or json to you content/markdown files.
date: 2017-01-09
publishdate: 2017-01-09
lastmod: 2017-01-09
tags: [content, front matter, yaml, toml, json]
weight:
draft: false
slug:
aliases: []
notes:
---
## Parameters
(Previously referred to as "variables").

View File

@ -0,0 +1,14 @@
---
title: Markdown and Supported Formats
linktitle:
description: Hugo uses the BlackFriday markdown converted for content files but also provides support for additional syntaxes (eg, Asciidoc) via external helpers.
date: 2017-01-10
publishdate: 2017-01-10
lastmod: 2017-01-10
tags: []
weight:
draft: false
slug:
aliases: [/content/markdown-extras/,/content/supported-formats/]
notes:
---

View File

@ -0,0 +1,14 @@
---
title: Multilingual Mode
linktitle:
description:
date: 2017-01-10
publishdate: 2017-01-10
lastmod: 2017-01-10
tags: []
weight:
draft: false
slug:
aliases: []
notes:
---

View File

@ -0,0 +1,14 @@
---
title: Site Sections
linktitle:
description:
date: 2017-01-10
publishdate: 2017-01-10
lastmod: 2017-01-10
tags: []
weight:
draft: false
slug:
aliases: []
notes:
---

View File

@ -0,0 +1,15 @@
---
title: Types and Layouts
linktitle:
description:
date: 2017-01-09
publishdate: 2017-01-09
lastmod: 2017-01-09
tags: [types,layouts]
weight:
draft: false
slug:
aliases: []
notes:
---

View File

View File

@ -0,0 +1,15 @@
---
title: Functions
linktitle:
description: Description for this page
date: 2017-01-09
publishdate: 2017-01-09
lastmod: 2017-01-09
tags: [functions,templating]
weight: 01
draft: false
slug:
aliases: []
notes:
---

View File

View File

0
content/functions/add.md Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
content/functions/div.md Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
content/functions/in.md Normal file
View File

0
content/functions/int.md Normal file
View File

View File

View File

View File

View File

View File

View File

0
content/functions/md5.md Normal file
View File

0
content/functions/mod.md Normal file
View File

View File

0
content/functions/mul.md Normal file
View File

View File

View File

View File

View File

View File

View File

View File

0
content/functions/rel.md Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
content/functions/seq.md Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
content/functions/sub.md Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -2,13 +2,11 @@
title: Download Hugo
linktitle:
description:
date: 2016-11-01
publishdate: 2016-11-01
lastmod: 2016-11-01
date: 2017-03-01
publishdate: 2017-03-01
lastmod: 2017-03-01
weight:
draft: false
type:
layout:
slug:
aliases: []
notes:

View File

@ -1,16 +0,0 @@
---
aliases: []
date: 2016-12-26T06:45:42-06:00
description: null
draft: false
lastmod: 2017-01-01
linktitle: null
notes: null
publishdate: 2017-01-01
qr_description: null
qr_returns: null
slug: null
title: _index
weight: 1
---

View File

@ -1,19 +0,0 @@
---
title: date
linktitle:
description:
qr_description:
qr_returns:
date: 2016-11-01
publishdate: 2016-11-01
lastmod: 2016-11-01
weight:
draft: false
type:
layout:
slug:
aliases: []
notes:
---
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe voluptatum placeat pariatur dolor, distinctio eligendi consequuntur, quis atque natus excepturi quasi libero sed non quisquam nemo veritatis tempore odio aperiam.

View File

@ -1,16 +0,0 @@
---
aliases: []
date: 2016-12-26T06:45:54-06:00
description: null
draft: false
lastmod: 2017-01-01
linktitle: null
notes: null
publishdate: 2017-01-01
qr_description: null
qr_returns: null
slug: null
title: _index
weight: 1
---

View File

@ -2,11 +2,9 @@
title:
linktitle:
description:
qr_description:
qr_returns:
date: 2017-01-01
publishdate: 2017-01-01
lastmod: 2017-01-01
publishdate:
lastmod:
tags: []
categories: []
weight: 10

View File

@ -1,2 +0,0 @@
blog:
posts:

View File

@ -1,5 +1,9 @@
{{- define "main" -}}
<main class="main">
<ul>
{{range .Data.Pages}}
<li><a href="/{{.Permalink}}">{{.Title}}</a></li>
{{ end }}
</ul>
</main>
{{- end -}}

View File

@ -1,5 +1,5 @@
{{- define "main" -}}
<main class="main">
{{.Content}}
</main>
{{- end -}}

View File

@ -2,9 +2,9 @@
<!-- Preconnect API. For browser compatibility, check http://caniuse.com/#feat=link-rel-preconnect -->
<link rel="preconnect" href="{{ .Site.BaseURL }}">
<link rel="canonical" href="{{ .Permalink }}">
{{ if .RSSlink }}
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSlink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
{{ if .IsPage }}
{{with .NextInSection }}

View File

@ -0,0 +1,3 @@
<nav id="site-navigation" class="site-navigation">
</nav>

View File

@ -62,7 +62,6 @@ gulp.task("image-resize", () => {
gulp.task('scripts', function(cb) {
pump([
// gulp.src(['js/polyfills.js', 'js/utils.js', 'js/_velocity.min.js','js/_velocity.ui.min.js', 'js/scripts/*.js']),
gulp.src(['js/utils.js', 'js/scripts/*.js']),
// sourcemaps.init(),
babel({

View File

@ -319,7 +319,7 @@
}
//Font mixin
@mixin fonts($font: null, $path: '/css/fonts', $weights: 100 200 300 400 500 600 700 800 900, $woff2: false, $italic: true) {
@mixin fonts($font: null, $path: '/fonts', $weights: 100 200 300 400 500 600 700 800 900, $woff2: false, $italic: true) {
@each $weight in $weights {
@font-face {
font-family: "#{$font}";

Some files were not shown because too many files have changed in this diff Show More