Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicky <vicky@vickylai.io>2018-03-25 20:11:24 +0300
committerVicky <vicky@vickylai.io>2018-03-25 20:11:24 +0300
commit64f3358bc9225a8145cc82f3abce41ca987f35c8 (patch)
tree90dcbae24fb373fa83d0dc1f5db1e0a847313b1b
parent1083561c7b75da98561833b7268158ca4961ce17 (diff)
Restored camel case params.
-rw-r--r--exampleSite/config.toml80
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/blogsection.html2
3 files changed, 42 insertions, 42 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 07c40cd..8f8a70a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,47 +1,47 @@
-baseurl = "/" # Your domain name. Must end with "/"
-languageCode = "en-us"
-title = "Introduction"
-theme = "introduction"
-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"
+baseurl = "/" # Your domain name. Must end with "/"
+languageCode = "en-us"
+title = "Introduction"
+theme = "introduction"
+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"
-[params]
- bloghead = "Blog" # Full name shows on blog post pages
- firstname = "Introduction" # First name shows in introduction on main page
- tagline = "I'm a theme for Hugo." # Appears after the introduction
- introheight = "fullheight" # Input either 'medium' or 'large' or 'fullheight'
- themestyle = "dark" # Choose 'light' or 'dark'
- avatar = "img/profile.jpg" # 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
- dateform = "Jan 2, 2006"
- dateformfull = "Mon Jan 2 2006 15:04:05 EST"
- 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" # Choose theme: https://help.farbox.com/pygments.html
+[params]
+ blogHead = "Blog" # Full name shows on blog post pages
+ firstName = "Introduction" # 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'
+ themeStyle = "light" # Choose 'light' or 'dark'
+ avatar = "img/profile.jpg" # 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
+ dateForm = "Jan 2, 2006"
+ dateFormFull = "Mon Jan 2 2006 15:04:05 EST"
+ 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)
- fadein = true # Turn on/off the fade-in effect
- customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
+ footerText = "" # Text to show in footer (overrides default text)
+ fadeIn = true # Turn on/off the fade-in effect
+ customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
- showblog = true # Show Blog section on home page
- showprojects = true # Show Projects section on home page
- projectcolumns = "3" # Choose "2" or "3" columns for projects section
- placeholderimg = "/img/workday.jpg" # For Projects without image
- showallposts = false # Set 'true' to list all posts on home page, or set 'false' to link to separate blog list page
- showlatest = true # Show latest blog post summary
- sharebuttons = true # On post pages, show share this social buttons
+ showBlog = true # Show Blog section on home page
+ showProjects = true # Show Projects section on home page
+ projectColumns = "3" # Choose "2" or "3" columns for projects section
+ placeHolderimg = "/img/workday.jpg" # For Projects without image
+ showAllPosts = false # Set 'true' to list all posts on home page, or set 'false' to link to separate blog list page
+ showLatest = true # Show latest blog post summary
+ shareButtons = true # On post pages, show share this social buttons
# Share buttons
- sharetwitter = true
- sharefacebook = true
- sharepinterest = false
- sharegoogleplus = true
+ shareTwitter = true
+ shareFacebook = true
+ sharePinterest = false
+ shareGooglePlus = true
# Social icons appear in introduction and contact section. Add as many more as you like.
# Find icon names here: http://fontawesome.io/cheatsheet/
@@ -56,4 +56,4 @@ canonifyurls = true # Turns relative urls in
[[params.social]]
url = "https://linkedin.com/"
- icon = "linkedin"
+ icon = "linkedin" \ No newline at end of file
diff --git a/layouts/index.html b/layouts/index.html
index 6aa797c..37ec32f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -31,7 +31,7 @@
{{ if .Site.Params.showProjects }}
<a class="nav-item" href="#projects">Projects</a>
{{ end }}
- {{ if .Site.Params.showBlog | default true }}
+ {{ if .Site.Params.showBlog }}
<a class="nav-item" href="#blog">Blog</a>
{{ end }}
<a class="nav-item" href="#contact">Contact</a>
diff --git a/layouts/partials/blogsection.html b/layouts/partials/blogsection.html
index 886cdf7..62796a6 100644
--- a/layouts/partials/blogsection.html
+++ b/layouts/partials/blogsection.html
@@ -3,7 +3,7 @@
{{ if .Site.Params.showLatest }}
<h2 class="title is-2 has-text-centered">Latest Post</h2>
{{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }}
- <div class="summary">{{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") }}
+ <div class="summary">{{ .Date.Format (.Site.Params.dateForm | default "Jan 02, 2006") }}
<h3 class="title is-3 latest-post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<div class="markdown">
{{ .Summary }}