From 3d7ed05dff1237f7ccbe178e00150d1b6d60a890 Mon Sep 17 00:00:00 2001 From: Vicky Date: Tue, 25 Jul 2017 08:37:04 +0800 Subject: Minor fixes and changelog update --- CHANGELOG.md | 9 +++++++++ exampleSite/config.toml | 4 ++-- layouts/partials/header.html | 2 +- static/css/dark-style.css | 2 +- static/css/light-style.css | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9174ff..ea59001 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b425f60..669c850 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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 diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ccc21c2..8f76872 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -23,7 +23,7 @@ -{{ if .Site.Params.forcehttps }} +{{ if .Site.Params.enforce_ssl }}