mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +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 "/"
|
||||
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"
|
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue