mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 16:58:53 +00:00
Update with first round of nav scaffolding
This commit is contained in:
+11
-4
@@ -7,8 +7,11 @@ canonifyurls = true
|
||||
config = "config.toml"
|
||||
contentdir = "content"
|
||||
copyright = ""
|
||||
defaultContentLanguage = "en"
|
||||
# Set to true is you don't want livereload in local development
|
||||
disableLiveReload= false
|
||||
disableLiveReload = false
|
||||
# Set to true to keep url path preserve casing (eg, for sections)
|
||||
disablePathToLower = false
|
||||
# Set to false if you want rss xml files auto-generated
|
||||
disableRSS = false
|
||||
# Set to false if you want a sitemap.xml created at the site root
|
||||
@@ -34,8 +37,10 @@ publishdir = "public"
|
||||
pygmentsUseClasses = true
|
||||
relativeURLs = true
|
||||
source = ""
|
||||
# Display memory and timing of different steps of the program
|
||||
stepAnalysis = true
|
||||
# This is the top-level, global site title
|
||||
title = "Hugo Docs Concept"
|
||||
title = "Hugo"
|
||||
# Change this once you've created your theme
|
||||
theme = "hugodocs"
|
||||
# Set to true to convert mysite/section/ to mysite/section.html
|
||||
@@ -59,7 +64,7 @@ watch = true
|
||||
## Critical Render Path. If true, site style will be embedded in a <style> tag in each html <head> as part of Gulp Build. False puts a typical <link> to the stylesheet in <head>>
|
||||
usecrp = false
|
||||
## Include jQuery 2.2.4 in your site head. (see /static/assets/js)
|
||||
includejq = true
|
||||
includejq = false
|
||||
## Date the Site is Published, use YYYY-MM-DD
|
||||
sitepublishdate = ""
|
||||
## Twitter handle without the "@"
|
||||
@@ -67,7 +72,7 @@ watch = true
|
||||
## Facebook URL
|
||||
facebook = ""
|
||||
## Default Image for Social Sharing. This image should live at static/images/
|
||||
defaultsocialimage = "cap-logo-social.png"
|
||||
defaultsocialimage = "hugodefaultsocial.png"
|
||||
## Setting this to true will add a "noindex" to *every* page on the site
|
||||
removefromexternalsearch = true
|
||||
## This is used when the BaseURL does not need to modified (eg, in share links)
|
||||
@@ -75,6 +80,8 @@ watch = true
|
||||
gtmid = ""
|
||||
# Set to true to include a CDN call to FontAwesome
|
||||
usefontawesome = true
|
||||
# Sets the order of site sections in the sidebar navigation
|
||||
sitemenuitems = ["About Hugo", "Getting Started", "Using the Docs", "Community Discussion", "Managing Content", "Templating", "Functions", "Themes", "Hosting and Deployment", "Migrating to Hugo", "News and Articles", "Site Showcase", "Developer Tools", "Themes", "Troubleshooting"]
|
||||
# MARKDOWN
|
||||
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
|
||||
[blackfriday]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: About
|
||||
title: About Hugo
|
||||
linktitle:
|
||||
description: A general introduction to Hugo, a powerful static site generator written in Golang.
|
||||
date: 2016-11-01
|
||||
@@ -7,8 +7,6 @@ publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
weight: 40
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
@@ -1,16 +1,12 @@
|
||||
---
|
||||
title: Hugo Features
|
||||
linktitle:
|
||||
description: Hugo is the fastest of all static site generators and includes features
|
||||
qr_description:
|
||||
qr_returns:
|
||||
description: Hugo is the fastest static site generator and includes a powerful templating language, making it the appropriate choice for websites of all sizes and types.
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
weight:
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
@@ -2,15 +2,11 @@
|
||||
title: Introduction to Hugo
|
||||
linktitle:
|
||||
description: An introduction to Hugo and the impetus for its creation.
|
||||
qr_description:
|
||||
qr_returns:
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
weight: 10
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: [/overview/introduction]
|
||||
notes:
|
||||
@@ -2,15 +2,11 @@
|
||||
title: License
|
||||
linktitle:
|
||||
description: Information on the Hugo license.
|
||||
qr_description:
|
||||
qr_returns:
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
weight: 20
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: [/meta/license]
|
||||
notes:
|
||||
@@ -6,13 +6,9 @@ date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
tags: []
|
||||
categories: []
|
||||
weight: 40
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases:
|
||||
- /meta/roadmap
|
||||
aliases: [/meta/roadmap]
|
||||
notes:
|
||||
---
|
||||
@@ -2,15 +2,11 @@
|
||||
title: Why I Built Hugo
|
||||
linktitle:
|
||||
description: Hugo is the fastest of all static site generators and includes features
|
||||
qr_description:
|
||||
qr_returns:
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Templating Introduction
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Ace Templating
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Amber Templating
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Data Templates
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Goland Primer
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Homepage Template
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: List Page Templates
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Shortcodes
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Single Page Templates
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Taxonomy Templates
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Template Debugging
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Template Types
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Template Variables
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Template Views
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
tags: []
|
||||
draft: false
|
||||
slug:
|
||||
aliases:
|
||||
notes:
|
||||
---
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Hugo
|
||||
linktitle:
|
||||
description:
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
weight:
|
||||
draft: false
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
---
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
aliases: []
|
||||
date: 2016-12-26T06:42:41-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
|
||||
---
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
---
|
||||
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:
|
||||
---
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: GetPage
|
||||
linktitle:
|
||||
title: getpage
|
||||
linktitle: GetPage
|
||||
description:
|
||||
qr_description:
|
||||
qr_returns:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Functions
|
||||
linktitle:
|
||||
title: Functions Quick Reference
|
||||
linktitle: Functions Quick Reference
|
||||
description: Description for this page
|
||||
date: 2017-01-09
|
||||
publishdate: 2017-01-09
|
||||
|
||||
@@ -9,8 +9,6 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
|
||||
@@ -9,8 +9,6 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
|
||||
@@ -9,8 +9,6 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
|
||||
@@ -9,8 +9,6 @@ publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
type:
|
||||
layout:
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
title: Getting Started with Hugo
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-03-01
|
||||
publishdate: 2017-03-01
|
||||
lastmod: 2017-03-01
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
weight:
|
||||
draft: false
|
||||
slug:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Install Hugo from Source
|
||||
title: Install from Source
|
||||
linktitle:
|
||||
description:
|
||||
date: 2016-11-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Install Hugo on Linux
|
||||
title: Install on Linux
|
||||
linktitle:
|
||||
description:
|
||||
date: 2016-11-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Install Hugo on Mac OSX
|
||||
title: Install on Mac OSX
|
||||
linktitle:
|
||||
description:
|
||||
qr_description:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Install Hugo on PC
|
||||
title: Install on PC
|
||||
linktitle:
|
||||
description:
|
||||
qr_description:
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
aliases: []
|
||||
date: 2016-12-26T06:43: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
|
||||
---
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
aliases: []
|
||||
date: 2016-12-26T06:45:06-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
|
||||
---
|
||||
|
||||
@@ -10,7 +10,7 @@ publishdate: 2017-01-01
|
||||
qr_description: null
|
||||
qr_returns: null
|
||||
slug: null
|
||||
title: _index
|
||||
title: Site Showcase
|
||||
weight: 1
|
||||
---
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
aliases: []
|
||||
date: 2016-12-26T06:45:29-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
|
||||
---
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
---
|
||||
aliases: []
|
||||
date: 2016-12-26T06:46:25-06:00
|
||||
description: null
|
||||
title: Troubleshooting
|
||||
linktitle:
|
||||
description:
|
||||
date: 2016-11-01
|
||||
publishdate: 2016-11-01
|
||||
lastmod: 2016-11-01
|
||||
weight:
|
||||
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:
|
||||
---
|
||||
|
||||
|
||||
@@ -2,14 +2,13 @@
|
||||
title:
|
||||
linktitle:
|
||||
description:
|
||||
date: 2017-01-01
|
||||
publishdate:
|
||||
lastmod:
|
||||
date:
|
||||
publishdate: ""
|
||||
lastmod: ""
|
||||
tags: []
|
||||
categories: []
|
||||
weight: 10
|
||||
draft: false
|
||||
slug:
|
||||
aliases: []
|
||||
notes:
|
||||
---
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
title:
|
||||
linktitle:
|
||||
date: 2017-01-01
|
||||
publishdate: 2017-01-01
|
||||
lastmod: 2017-01-01
|
||||
date:
|
||||
publishdate: ""
|
||||
lastmod: ""
|
||||
description: ""
|
||||
comments:
|
||||
---
|
||||
@@ -1,18 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{- partial "site-head.html" . -}}
|
||||
</head>
|
||||
<body>
|
||||
<div id="all-site-wrapper" class="all-site-wrapper">
|
||||
{{- partial "site-header.html" . -}}
|
||||
<div id="all-content-wrapper" class="all-content-wrapper">
|
||||
{{block "main" . }}
|
||||
{{end}}
|
||||
</div>
|
||||
{{- partial "site-footer.html" . -}}
|
||||
</div>
|
||||
{{- partial "footer/site-scripts.html" . -}}
|
||||
{{- partial "footer/google-analytics.html" . -}}
|
||||
</body>
|
||||
{{- partial "site-head.html" . -}}
|
||||
<body>
|
||||
{{- partial "site-header.html" . -}}
|
||||
<div class="all-content-wrapper" id="all-content-wrapper">
|
||||
{{block "main" . }}
|
||||
{{end}}
|
||||
</div>
|
||||
{{- partial "site-footer.html" . -}}
|
||||
{{- partial "site-navigation-sidebar.html" . -}}
|
||||
{{- partial "site-scripts.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- define "main" -}}
|
||||
{{ define "main" }}
|
||||
<main class="main">
|
||||
<ul>
|
||||
{{range .Data.Pages}}
|
||||
@@ -6,4 +6,4 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<main class="main" id="homepage">
|
||||
<h1>{{.Site.Title}}</h1>
|
||||
|
||||
</main>
|
||||
{{ end }}
|
||||
@@ -1,2 +0,0 @@
|
||||
{{if .Site.Params.includejq}}<script src="{{.Site.BaseURL}}js/vendor/jquery-2.2.4.min.js"></script>{{end}}
|
||||
<script src="{{.Site.BaseURL}}js/script.min.js" async></script>
|
||||
@@ -1,28 +1,18 @@
|
||||
<!-- OPEN GRAPH PROTOCOL http://ogp.me/ -->
|
||||
<meta property="fb:pages" content="{{.Site.Params.facebook}}" />
|
||||
{{ if or .IsHome .IsNode }}
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="fb:app_id" content="{{.Site.Params.facebook}}">
|
||||
{{ end }}
|
||||
<!-- Article-namespace metadata for OGP -->
|
||||
{{- if .IsPage -}}
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:article:published_time" content="{{.PublishDate.Format "2006-01-02T15:04:05Z07:00"}}" />
|
||||
<meta property="og:article:modified_time" content="{{.Params.updated}}" />
|
||||
<meta property="og:article:author" content="{{.Params.authors}}" />
|
||||
<meta property="og:article:section" content="{{.Section | title}}" />
|
||||
{{- with .Params.tags -}}
|
||||
{{- range . -}}
|
||||
<meta property="og:article:tag" content="{{.}}" />
|
||||
{{- end -}}
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:article:published_time" content="{{.PublishDate.Format "2006-01-02T15:04:05Z07:00"}}" />
|
||||
<meta property="og:article:modified_time" content="{{.Params.lastmod}}" />
|
||||
{{- with .Params.tags -}}
|
||||
{{- range . -}}
|
||||
<meta property="og:article:tag" content="{{.}}" />
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="og:title" content="{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="og:image" content="{{.Site.BaseURL}}/assets/images/{{.Params.image | default .Site.Params.defaultsocialimage }}">
|
||||
<meta property="og:image" content="{{.Site.BaseURL}}images/{{ .Site.Params.defaultsocialimage }}">
|
||||
<meta property="og:image:secure_url" content="{{.Site.BaseURL}}/assets/images/{{.Params.image | default .Site.Params.defaultsocialimage }}"/>
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:width" content="800" />
|
||||
<meta property="og:image:height" content="533" />
|
||||
<meta property="og:description" content="{{ if .IsHome }}{{ .Site.Params.sitedescription }}{{ else if .IsPage }}{{ .Description }}{{ else if .IsNode }}{{ index .Site.Data.sectiondescriptions .Title }}{{ end }}"/>
|
||||
<meta property="og:description" content="{{ if .IsHome }}{{ .Site.Params.sitedescription }}{{ else }}{{ .Description }}{{end}}"/>
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||
@@ -1,4 +1,4 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.sitedescription }}{{ else if .IsPage }}{{ .Description }}{{ else if .IsNode }}{{ index .Site.Data.sectiondescriptions .Title }}{{ end }}" />
|
||||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.sitedescription }}{{ else }}{{ .Description }}{{end}}" />
|
||||
<title>{{.Site.Title}}{{if not .IsHome}} | {{.Title}}{{end}}</title>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<nav id="site-navigation" class="site-navigation">
|
||||
|
||||
</nav>
|
||||
@@ -1,3 +1,8 @@
|
||||
<header id="site-header" class="site-header">
|
||||
|
||||
<div class="hugo-meta" title="Hugo version {{.Hugo.Version}}, built {{.Hugo.BuildDate}}">
|
||||
<a href="{{.Site.BaseURL}}" id="home-link">
|
||||
<img src="{{"images/hugo-logo.png" | relURL}}" alt="">{{.Hugo.Version}}
|
||||
</a>
|
||||
</div>
|
||||
<h1 class="page-title">{{.Title}}</h1>
|
||||
</header>
|
||||
@@ -0,0 +1,22 @@
|
||||
<nav class="site-navigation" id="site-navigation">
|
||||
<ul>
|
||||
{{ $menuitems := .Site.Params.sitemenuitems }}
|
||||
{{ $sitesections := .Site.Sections }}
|
||||
{{ range $menuitems }}
|
||||
{{ $menuitem := . }}
|
||||
{{ range $section,$content := $sitesections}}
|
||||
{{if eq $section $menuitem}}
|
||||
<li>{{ $section }}
|
||||
{{if gt (len $content.Pages) 1 }}
|
||||
<ul>
|
||||
{{range $content.Pages}}
|
||||
<li>{{with .LinkTitle}}{{.}}{{else}}{{.Title}}{{end}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
<script src="{{.Site.BaseURL}}js/vendor/jquery-2.2.4.min.js"></script>
|
||||
<script src="{{.Site.BaseURL}}js/script.min.js" async></script>
|
||||
{{$gaid := .Site.Params.googleanalyticstrackingcode }}
|
||||
<script>
|
||||
(function() {
|
||||
File diff suppressed because one or more lines are too long
@@ -6,4 +6,19 @@ $SM: 560px;
|
||||
$M:760px;
|
||||
$L:960px;
|
||||
$XL:1200px;
|
||||
$HUGE:1600px;
|
||||
$HUGE:1600px;
|
||||
|
||||
//Color Palette
|
||||
$hugo-black:#000000;
|
||||
$hugo-white:#ffffff;
|
||||
$hugo-pink:#ff4088;
|
||||
|
||||
$default-anchor-color:$hugo-pink;
|
||||
$default-anchor-weight: 600;
|
||||
|
||||
//Typography
|
||||
$base-font-size: 16px;
|
||||
|
||||
|
||||
//Header
|
||||
$site-header-height:40px;
|
||||
@@ -0,0 +1,11 @@
|
||||
html,body {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
outline:none;
|
||||
border:none;
|
||||
font-size:$base-font-size;
|
||||
}
|
||||
|
||||
body {
|
||||
@include MQALL('font-size',90% 95% 100%);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
a {
|
||||
color:$default-anchor-color;
|
||||
font-weight:$default-anchor-weight;
|
||||
@include on-event($self:true){
|
||||
text-decoration:none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
img {
|
||||
width:100%;
|
||||
height:auto;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
ul,
|
||||
ol {
|
||||
margin-left: 0px;
|
||||
padding-left: 0px;
|
||||
list-style: none;
|
||||
li {
|
||||
margin-left: 0px;
|
||||
padding-left: 0px
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#all-content-wrapper {
|
||||
margin-top:$site-header-height;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
.site-header {
|
||||
width: 100%;
|
||||
height:$site-header-height;
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
align-items:center;
|
||||
justify-content:space-between;
|
||||
margin: 0px;
|
||||
background-color: $hugo-black;
|
||||
color:$hugo-white;
|
||||
position:fixed;
|
||||
top:0px;
|
||||
left:0px;
|
||||
.page-title {
|
||||
// margin:{
|
||||
// left:auto;
|
||||
// right:auto;
|
||||
// }
|
||||
}
|
||||
#home-link {
|
||||
display:flex;
|
||||
align-items:center;
|
||||
font-size:.8em;
|
||||
margin-left:1em;
|
||||
img {
|
||||
height:$site-header-height * .8;
|
||||
margin-right:.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,14 +2,13 @@
|
||||
@import 'abstracts/mixins';
|
||||
@import 'abstracts/mediaqueries';
|
||||
@import 'abstracts/functions';
|
||||
@import 'base/fontawesome'; //requires that $usefontawesome be set to true in _variables.scss
|
||||
@import 'base/normalize';
|
||||
@import 'base/base';
|
||||
@import 'base/fontawesome'; //requires that $usefontawesome be set to true in _variables.scss
|
||||
@import 'base/typography';
|
||||
@import 'components/buttons';
|
||||
@import 'components/lists';
|
||||
@import 'components/anchors';
|
||||
@import 'layout/site-header';
|
||||
@import 'layout/site-content';
|
||||
@import 'layout/site-footer';
|
||||
// @import 'abstracts/animate';
|
||||
|
||||
body {
|
||||
|
||||
}
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+asciidoc+bash+go+handlebars+json+makefile+markdown+nginx+powershell+rest+scss+yaml */
|
||||
/**
|
||||
* prism.js default theme for JavaScript, CSS and HTML
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: black;
|
||||
background: none;
|
||||
text-shadow: 0 1px white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: slategray;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.namespace {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #905;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #690;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #a67f59;
|
||||
background: hsla(0, 0%, 100%, .5);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #DD4A68;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
+3
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user