Minor fixes and changelog update

This commit is contained in:
Vicky 2017-07-25 08:37:04 +08:00
parent 1638971055
commit 3d7ed05dff
5 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,12 @@
## Version 2.20 - Jul 25 2017
- Avatar made optional
- Fixed bug in CSS dark theme
*Thanks to [@alanfran](https://github.com/alanfran) for the contribution!*
- Removed dead code (font loads) from header
## Version 2.10 - May 25 2017
- Fixed issue (#7) causing '_fades.css' to not load with some site structures

View file

@ -2,7 +2,7 @@ baseurl = "/" # Must end with /
languageCode = "en-us"
title = "Introduction"
theme = "introduction"
enforce_ssl = "your-url.com"
enforce_ssl = false
builddrafts = false
canonifyurls = true
contentdir = "content"
@ -21,7 +21,7 @@ firstname = "awesome" # First name shows in introduction on main page
tagline = "I'm a theme for Hugo." # Appears after the introduction
introheight = "large" # Input either 'medium' or 'large' or 'fullheight'
theme = "dark" # Choose 'light' or 'dark'
avatar = "img/profile.png" # Path to image in static folder eg. img/avatar.png
avatar = "img/profile.png" # Path to image in static folder eg. img/avatar.png, or comment out to remove
email = "youremail@email.com" # Shows in contact section, or leave blank to omit
localtime = true # Show your current local time in contact section
timezone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

View file

@ -23,7 +23,7 @@
<!-- HTTPS -->
{{ if .Site.Params.forcehttps }}
{{ if .Site.Params.enforce_ssl }}
<script type="text/javascript">
var baseURL = '{{ .Site.BaseURL }}';
var host = baseURL.substring(0, baseURL.length - 1).replace(/\//g, '');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long