diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 91c6960..fffbd03 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -9,37 +9,37 @@ canonifyurls = true # Turns relative urls into a # 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 = "large" # Input either 'medium' or 'large' or 'fullheight' - themestyle = "light" # Choose 'light' or 'dark' + 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) + 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" + faviconFile = "img/fav.ico" highlightjs = true # Syntax highlighting - footertext = "" # Text to show in footer (overrides default text) - fadein = true # Turn on/off the fade-in effect + footerText = "" # Text to show in footer (overrides default text) + fadeIn = true # Turn on/off the fade-in effect - 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/ diff --git a/layouts/404.html b/layouts/404.html index ef9e6a3..f1dbb9a 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -3,12 +3,12 @@
-
+

404

-
+
{{ partial "nav-single.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b6a6573..856a388 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,14 +3,14 @@
-
+

{{ .Title }}

-
+
@@ -29,7 +29,7 @@ {{ range .Data.Pages.ByPublishDate }} {{ if not (eq .Section "blog") }}
  • - {{.Date.Format .Site.Params.dateform }} | {{.Title}} + {{.Date.Format .Site.Params.dateForm }} | {{.Title}}
  • {{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3195814..600b50f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,14 +4,14 @@
    -
    +

    {{ .Title }}

    -
    +
    @@ -19,7 +19,7 @@
    -
    +
    {{ if .Params.image }}
    diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 40f5967..4130450 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -3,14 +3,14 @@
    -
    +

    Tagged "{{ lower .Title }}"

    -
    +
    @@ -29,7 +29,7 @@ {{ range .Data.Pages.ByPublishDate }}
  • - {{.Date.Format .Site.Params.dateform }} | {{.Title}} + {{.Date.Format .Site.Params.dateForm }} | {{.Title}}
  • {{ end }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 0d1a1c0..1a384d3 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -4,14 +4,14 @@
    -
    +

    {{ .Title }}

    -
    +
    diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 10bcc94..6597d86 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -3,12 +3,12 @@
    -
    -

    {{ .Site.Params.bloghead }}

    +
    +

    {{ .Site.Params.blogHead }}

    -
    +
    {{ partial "nav-list.html" . }} @@ -16,10 +16,10 @@
    - {{ if .Site.Params.showlatest }} + {{ if .Site.Params.showLatest }}

    Latest Post

    {{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }} -
    {{ .Date.Format .Site.Params.dateform }} +
    {{ .Date.Format .Site.Params.dateForm }}

    {{ .Title }}

    {{ .Summary }} diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 2d40c67..29d02be 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -3,49 +3,49 @@
    -
    -

    {{ .Site.Params.bloghead }}

    +
    +

    {{ .Site.Params.blogHead }}

    -
    +
    {{ partial "nav-single.html" . }}
    -
    +

    {{ .Title }}

    - {{ .Date.Format .Site.Params.dateform }} | + {{ .Date.Format .Site.Params.dateForm }} | {{ if eq 1 .ReadingTime }}{{ .ReadingTime }} minute read{{ else }}{{ .ReadingTime }} minutes read{{ end }}
    - {{ if .Site.Params.sharebuttons }} + {{ if .Site.Params.shareButtons }}
    Share this: - {{ if .Site.Params.sharetwitter }} + {{ if .Site.Params.shareTwitter }} {{ end }} - {{ if .Site.Params.sharefacebook }} + {{ if .Site.Params.shareFacebook }} {{ end }} - {{ if .Site.Params.sharepinterest }} + {{ if .Site.Params.sharePinterest }} {{ end }} - {{ if .Site.Params.sharegoogleplus }} + {{ if .Site.Params.shareGooglePlus }} @@ -57,7 +57,7 @@
    -
    +
    {{ .Content }}
    diff --git a/layouts/index.html b/layouts/index.html index 073477e..34574d8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,35 +3,35 @@
    -
    +
    -

    +

    Hi, I'm {{ .Site.Params.firstname }}.

    -

    - {{ .Site.Params.tagline }} +

    + {{ .Site.Params.tagLine }}

    -
    +
    {{ partial "social.html" . }}
    -
    +

    -
    +
    @@ -72,7 +72,7 @@ - {{ if .Site.Params.showprojects }} + {{ if .Site.Params.showProjects }}
    {{ partial "projects.html" . }}
    @@ -102,7 +102,7 @@ {{ end }}
    - {{ if .Site.Params.localtime }} + {{ if .Site.Params.localTime }}

    My current local time is .

    @@ -110,7 +110,7 @@ diff --git a/layouts/partials/blogsection.html b/layouts/partials/blogsection.html index 995b04b..4b5377e 100644 --- a/layouts/partials/blogsection.html +++ b/layouts/partials/blogsection.html @@ -1,9 +1,9 @@
    -{{ if .Site.Params.showlatest }} +{{ if .Site.Params.showLatest }}

    Latest Post

    {{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }} -
    {{ .Date.Format .Site.Params.dateform }} +
    {{ .Date.Format .Site.Params.dateForm }}

    {{ .Title }}

    {{ .Summary }} @@ -15,7 +15,7 @@ {{ end }} {{ end }} -{{ if .Site.Params.showallposts }} +{{ if .Site.Params.showAllPosts }}

    All Posts

      {{ range .Data.Pages.ByPublishDate }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3ded406..5ad7f48 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,7 @@