mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 06:20:02 +00:00
Restored camel case params.
This commit is contained in:
parent
1083561c7b
commit
64f3358bc9
3 changed files with 42 additions and 42 deletions
|
@ -1,47 +1,47 @@
|
||||||
baseurl = "/" # Your domain name. Must end with "/"
|
baseurl = "/" # Your domain name. Must end with "/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Introduction"
|
title = "Introduction"
|
||||||
theme = "introduction"
|
theme = "introduction"
|
||||||
enforce_ssl = false
|
enforce_ssl = false
|
||||||
builddrafts = false # Include pages with draft status of true
|
builddrafts = false # Include pages with draft status of true
|
||||||
canonifyurls = true # Turns relative urls into absolute urls
|
canonifyurls = true # Turns relative urls into absolute urls
|
||||||
# disqusshortname = "xxx" # Enable Disqus for comments
|
# disqusshortname = "xxx" # Enable Disqus for comments
|
||||||
# googleAnalytics = "xxx"
|
# googleAnalytics = "xxx"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
bloghead = "Blog" # Full name shows on blog post pages
|
blogHead = "Blog" # Full name shows on blog post pages
|
||||||
firstname = "Introduction" # First name shows in introduction on main page
|
firstName = "Introduction" # First name shows in introduction on main page
|
||||||
tagline = "I'm a theme for Hugo." # Appears after the introduction
|
tagLine = "I'm a theme for Hugo." # Appears after the introduction
|
||||||
introheight = "fullheight" # Input either 'medium' or 'large' or 'fullheight'
|
introHeight = "large" # Input either 'medium' or 'large' or 'fullheight'
|
||||||
themestyle = "dark" # Choose 'light' or 'dark'
|
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
|
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
|
email = "youremail@email.com" # Shows in contact section, or leave blank to omit
|
||||||
localtime = true # Show your current local time in contact section
|
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
|
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"
|
dateForm = "Jan 2, 2006"
|
||||||
dateformfull = "Mon Jan 2 2006 15:04:05 EST"
|
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)
|
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
|
description = "Website Description" # Max 160 characters show in search results
|
||||||
faviconfile = "img/fav.ico"
|
faviconFile = "img/fav.ico"
|
||||||
pygmentsStyle = "monokai" # Choose theme: https://help.farbox.com/pygments.html
|
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
|
||||||
pygmentsCodefences = true
|
pygmentsCodefences = true
|
||||||
footertext = "" # Text to show in footer (overrides default text)
|
footerText = "" # Text to show in footer (overrides default text)
|
||||||
fadein = true # Turn on/off the fade-in effect
|
fadeIn = true # Turn on/off the fade-in effect
|
||||||
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
|
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
|
||||||
|
|
||||||
showblog = true # Show Blog section on home page
|
showBlog = true # Show Blog section on home page
|
||||||
showprojects = true # Show Projects section on home page
|
showProjects = true # Show Projects section on home page
|
||||||
projectcolumns = "3" # Choose "2" or "3" columns for projects section
|
projectColumns = "3" # Choose "2" or "3" columns for projects section
|
||||||
placeholderimg = "/img/workday.jpg" # For Projects without image
|
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
|
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
|
showLatest = true # Show latest blog post summary
|
||||||
sharebuttons = true # On post pages, show share this social buttons
|
shareButtons = true # On post pages, show share this social buttons
|
||||||
|
|
||||||
# Share buttons
|
# Share buttons
|
||||||
sharetwitter = true
|
shareTwitter = true
|
||||||
sharefacebook = true
|
shareFacebook = true
|
||||||
sharepinterest = false
|
sharePinterest = false
|
||||||
sharegoogleplus = true
|
shareGooglePlus = true
|
||||||
|
|
||||||
# Social icons appear in introduction and contact section. Add as many more as you like.
|
# Social icons appear in introduction and contact section. Add as many more as you like.
|
||||||
# Find icon names here: http://fontawesome.io/cheatsheet/
|
# Find icon names here: http://fontawesome.io/cheatsheet/
|
||||||
|
@ -56,4 +56,4 @@ canonifyurls = true # Turns relative urls in
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
url = "https://linkedin.com/"
|
url = "https://linkedin.com/"
|
||||||
icon = "linkedin"
|
icon = "linkedin"
|
|
@ -31,7 +31,7 @@
|
||||||
{{ if .Site.Params.showProjects }}
|
{{ if .Site.Params.showProjects }}
|
||||||
<a class="nav-item" href="#projects">Projects</a>
|
<a class="nav-item" href="#projects">Projects</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.showBlog | default true }}
|
{{ if .Site.Params.showBlog }}
|
||||||
<a class="nav-item" href="#blog">Blog</a>
|
<a class="nav-item" href="#blog">Blog</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a class="nav-item" href="#contact">Contact</a>
|
<a class="nav-item" href="#contact">Contact</a>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ if .Site.Params.showLatest }}
|
{{ if .Site.Params.showLatest }}
|
||||||
<h2 class="title is-2 has-text-centered">Latest Post</h2>
|
<h2 class="title is-2 has-text-centered">Latest Post</h2>
|
||||||
{{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }}
|
{{ 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>
|
<h3 class="title is-3 latest-post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
<div class="markdown">
|
<div class="markdown">
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
|
|
Loading…
Reference in a new issue