Merge branch 'master' into fix_nav_2

This commit is contained in:
Hanzei 2018-06-15 13:29:17 +02:00 committed by GitHub
commit 7e801f02a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 30 deletions

View file

@ -1,12 +1,12 @@
baseurl = "/" # Your domain name. Must end with "/"
languageCode = "en-us"
title = "Introduction"
baseURL = "https://example.org/" # Your domain name. Must end with "/"
languageCode = "en-us" # languageCode
title = "Introduction" # Site title
theme = "introduction"
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
pygmentsCodefences = true
enforce_ssl = false
builddrafts = false # Include pages with draft status of true
canonifyurls = true # Turns relative urls into absolute urls
# disqusshortname = "xxx" # Enable Disqus for comments
# googleAnalytics = "xxx"
# disqusshortname = "" # Enable Disqus for comments https://gohugo.io/content-management/comments
# googleAnalytics = "" # Enable Google Analytics https://gohugo.io/templates/internal/#google-analytics
[params]
blogHead = "Blog" # Full name shows on blog post pages
@ -23,9 +23,7 @@ canonifyurls = true # Turns relative url
cacheBuster = false # Add the current unix timestamp in query string for cache busting css assets (relevant in development mode)
description = "Website Description" # Max 160 characters show in search results
faviconFile = "img/fav.ico"
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
pygmentsCodefences = true
footerText = "" # Text to show in footer (overrides default text)
footerText = "" # Text to override default footer text (markdown allowed)
fadeIn = true # Turn on/off the fade-in effect
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]

View file

@ -1,7 +1,7 @@
<div class="section" id="footer"><!-- Begin Footer section -->
<div class="container has-text-centered"><!-- Begin Footer container -->
{{ if .Site.Params.footerText }}
{{ .Site.Params.footerText }}
{{ .Site.Params.footerText | markdownify }}
{{ else }}
<span class="footer-text"><a href="https://github.com/vickylai/hugo-theme-introduction" target="_blank" rel="noopener">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank" rel="noopener">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i> by <a href="https://vickylai.com" target="_blank" rel="noopener">Vicky Lai</a>.</span>
{{ end }}

View file

@ -1,21 +1,12 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Introduction"
license = "Creative Commons Attribution 3.0 Unported"
licenselink = "https://github.com/vickylai/hugo-theme-introduction/blob/master/LICENSE.md"
license = "GNU Affero General Public License version 3"
licenselink = "https://github.com/vickylai/hugo-theme-introduction/blob/master/LICENSE"
description = "Minimal, single page, smooth scrolling theme for Hugo."
homepage = "https://github.com/vickylai/hugo-theme-introduction"
tags = ["clean", "simple", "minimal", "minimalist", "responsive", "single page", "syntax highlighting", "projects", "starter", "white", "dark"]
features = ["responsive", "single page"]
features = ["responsive", "blog", "portfolio"]
min_version = "0.30"
[author]
name = "Vicky Lai"
homepage = "https://vickylai.com"
# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""