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-01-27 06:56:48 +0300
committerVicky <vicky@vickylai.io>2018-01-27 06:56:48 +0300
commit8e74c664941078db3e3ecfa5764cb00bcbdea1c2 (patch)
treec44513993a1217d4ca55abdd2a60010c7461f3bd
parent4c5cc255d095156d2f50b8fe83fbac9497c16bdb (diff)
parent665fb01aee284e41d2cb657dfd1d24ddd49616f8 (diff)
Merge branch 'danieldiaz14-ChangeparameternamestocamelCase'
-rw-r--r--exampleSite/config.toml48
-rw-r--r--layouts/404.html8
-rw-r--r--layouts/_default/list.html6
-rw-r--r--layouts/_default/single.html6
-rw-r--r--layouts/_default/taxonomy.html6
-rw-r--r--layouts/_default/terms.html4
-rw-r--r--layouts/blog/list.html10
-rw-r--r--layouts/blog/single.html24
-rw-r--r--layouts/index.html28
-rw-r--r--layouts/partials/blogsection.html6
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/header.html14
-rw-r--r--layouts/partials/li.html2
-rw-r--r--layouts/partials/nav-list.html2
-rw-r--r--layouts/partials/projects.html6
15 files changed, 87 insertions, 87 deletions
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..02a2775 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -3,21 +3,21 @@
<div class="section" id="top"><!-- Parent section -->
- <div class="container hero is-medium has-text-centered {{ if .Site.Params.fadein }} fade-in one {{ end }}"><!-- Begin Title -->
+ <div class="container hero is-medium has-text-centered {{ if .Site.Params.fadeIn }} fade-in one {{ end }}"><!-- Begin Title -->
<h1 class="bold-title is-1">404</h1>
</div><!-- End Title -->
<!-- Everything below fades in two! -->
-<div class="section {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+<div class="section {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container"><!-- Begin Nav bar -->
{{ partial "nav-single.html" . }}
</div><!-- End Nav bar -->
- <div class="container {{ if .Site.Params.fadein }} fade-in two {{ end }} top-pad"><!-- Begin blurb -->
+ <div class="container {{ if .Site.Params.fadeIn }} fade-in two {{ end }} top-pad"><!-- Begin blurb -->
Oops! Either you've found a bug (in which case, <a href="mailto:{{ .Site.Params.email }}">please tell me</a>) or you're just making things up. This page doesn't exist!
</div><!-- End blurb -->
-<div class="top-pad"><hr></div>
+<div class="container top-pad"><hr></div>
{{ partial "footer.html" . }}
</div><!-- End parent section -->
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 @@
<div class="section" id="top">
<!-- Parent section -->
- <div class="container hero {{ if .Site.Params.fadein }} fade-in one {{ end }}">
+ <div class="container hero {{ if .Site.Params.fadeIn }} fade-in one {{ end }}">
<!-- Begin Title -->
<h1 class="bold-title is-1">{{ .Title }}</h1>
</div>
<!-- End Title -->
<!-- Everything below fades in two! -->
- <div class="section no-padding {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+ <div class="section no-padding {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container">
<!-- Begin Nav bar -->
@@ -29,7 +29,7 @@
<!-- Ranges through content/post/*.md -->
{{ range .Data.Pages.ByPublishDate }} {{ if not (eq .Section "blog") }}
<li>
- <a href="{{.Permalink}}">{{.Date.Format .Site.Params.dateform }} | {{.Title}}</a>
+ <a href="{{.Permalink}}">{{.Date.Format .Site.Params.dateForm }} | {{.Title}}</a>
</li>
{{ end }} {{ end }}
</ul>
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 @@
<div class="section" id="top">
<!-- Parent section -->
- <div class="container hero {{ if .Site.Params.fadein }} fade-in one {{ end }}">
+ <div class="container hero {{ if .Site.Params.fadeIn }} fade-in one {{ end }}">
<!-- Begin Title -->
<h1 class="bold-title is-1">{{ .Title }}</h1>
</div>
<!-- End Title -->
<!-- Everything below fades in two! -->
- <div class="section {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+ <div class="section {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container">
<!-- Begin Nav bar -->
@@ -19,7 +19,7 @@
</div>
<!-- End Nav bar -->
- <div class="container markdown {{ if .Site.Params.fadein }} fade-in two {{ end }} top-pad">
+ <div class="container markdown {{ if .Site.Params.fadeIn }} fade-in two {{ end }} top-pad">
<!-- Begin blog post content -->
{{ if .Params.image }}
<div class="has-text-centered">
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 @@
<div class="section" id="top">
<!-- Parent section -->
- <div class="container hero {{ if .Site.Params.fadein }} fade-in one {{ end }}">
+ <div class="container hero {{ if .Site.Params.fadeIn }} fade-in one {{ end }}">
<!-- Begin Title -->
<h1 class="bold-title is-1">Tagged "{{ lower .Title }}"</h1>
</div>
<!-- End Title -->
<!-- Everything below fades in two! -->
- <div class="section no-padding {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+ <div class="section no-padding {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container">
<!-- Begin Nav bar -->
@@ -29,7 +29,7 @@
<!-- Ranges through content/post/*.md -->
{{ range .Data.Pages.ByPublishDate }}
<li>
- <a href="{{.Permalink}}">{{.Date.Format .Site.Params.dateform }} | {{.Title}}</a>
+ <a href="{{.Permalink}}">{{.Date.Format .Site.Params.dateForm }} | {{.Title}}</a>
</li>
{{ end }}
</ul>
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 @@
<div class="section" id="top">
<!-- Parent section -->
- <div class="container hero {{ if .Site.Params.fadein }} fade-in one {{ end }}">
+ <div class="container hero {{ if .Site.Params.fadeIn }} fade-in one {{ end }}">
<!-- Begin Title -->
<h1 class="bold-title is-1">{{ .Title }}</h1>
</div>
<!-- End Title -->
<!-- Everything below fades in two! -->
- <div class="section no-padding {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+ <div class="section no-padding {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container">
<!-- Begin Nav bar -->
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 @@
<div class="section" id="top"><!-- Parent section -->
- <div class="container hero {{ if .Site.Params.fadein }} fade-in one {{ end }}"><!-- Begin Title -->
- <h1 class="bold-title is-1">{{ .Site.Params.bloghead }}</h1>
+ <div class="container hero {{ if .Site.Params.fadeIn }} fade-in one {{ end }}"><!-- Begin Title -->
+ <h1 class="bold-title is-1">{{ .Site.Params.blogHead }}</h1>
</div><!-- End Title -->
<!-- Everything below fades in two! -->
- <div class="section no-padding {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+ <div class="section no-padding {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container"><!-- Begin Nav bar -->
{{ partial "nav-list.html" . }}
@@ -16,10 +16,10 @@
<div class="container"><!-- Begin Blog container -->
- {{ if .Site.Params.showlatest }}
+ {{ if .Site.Params.showLatest }}
<h2 class="title is-2 top-pad">Latest Post</h2>
{{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }}
- <div class="summary">{{ .Date.Format .Site.Params.dateform }}
+ <div class="summary">{{ .Date.Format .Site.Params.dateForm }}
<h3 class="title is-3 strong-post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<div class="markdown">
{{ .Summary }}
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 2d40c67..09600c2 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -3,49 +3,49 @@
<div class="section" id="top"><!-- Parent section -->
- <div class="container hero {{ if .Site.Params.fadein }} fade-in one {{ end }}"><!-- Begin Title -->
- <h1 class="bold-title is-1">{{ .Site.Params.bloghead }}</h1>
+ <div class="container hero {{ if .Site.Params.fadeIn }} fade-in one {{ end }}"><!-- Begin Title -->
+ <h1 class="bold-title is-1">{{ .Site.Params.blogHead }}</h1>
</div><!-- End Title -->
<!-- Everything below fades in two! -->
-<div class="section {{ if .Site.Params.fadein }} fade-in two {{ end }}">
+<div class="section {{ if .Site.Params.fadeIn }} fade-in two {{ end }}">
<div class="container"><!-- Begin Nav bar -->
{{ partial "nav-single.html" . }}
</div><!-- End Nav bar -->
- <div class="container {{ if .Site.Params.fadein }} fade-in two {{ end }}"><!-- Begin blog title container -->
+ <div class="container {{ if .Site.Params.fadeIn }} fade-in two {{ end }}"><!-- Begin blog title container -->
<h2 class="title is-1 top-pad strong-post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<div class="post-data">
- {{ .Date.Format .Site.Params.dateform }} |
+ {{ .Date.Format .Site.Params.dateForm }} |
{{ if eq 1 .ReadingTime }}{{ .ReadingTime }} minute read{{ else }}{{ .ReadingTime }} minutes read{{ end }}
</div>
- {{ if .Site.Params.sharebuttons }}
+ {{ if .Site.Params.shareButtons }}
<div class="blog-share">
Share this:
- {{ if .Site.Params.sharetwitter }}
+ {{ if .Site.Params.shareTwitter }}
<a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Read%20{{ .Title }}%20{{ .Permalink }}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<i class="fa fa-twitter"></i>
<span class="hidden">Twitter</span>
</a>
{{ end }}
- {{ if .Site.Params.sharefacebook }}
+ {{ if .Site.Params.shareFacebook }}
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<i class="fa fa-facebook"></i>
<span class="hidden">Facebook</span>
</a>
{{ end }}
- {{ if .Site.Params.sharepinterest }}
- <a class="icon-pinterest" href="http://pinterest.com/pin/create/button/?url={{ .Permalink }}{{ if .Params.pinterestmedia }}&amp;media={{ .Site.BaseURL }}{{ .Params.pinterestmedia }}{{ end }}&amp;description={{ .Title | safeHTML}}"
+ {{ if .Site.Params.sharePinterest }}
+ <a class="icon-pinterest" href="http://pinterest.com/pin/create/button/?url={{ .Permalink }}{{ if .Params.pinterestMedia }}&amp;media={{ .Site.BaseURL }}{{ .Params.pinterestMedia }}{{ end }}&amp;description={{ .Title | safeHTML}}"
onclick="window.open(this.href, 'pinterest-share','width=580,height=296');return false;">
<i class="fa fa-pinterest"></i>
<span class="hidden">Pinterest</span>
</a>
{{ end }}
- {{ if .Site.Params.sharegoogleplus }}
+ {{ if .Site.Params.shareGooglePlus }}
<a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<i class="fa fa-google-plus"></i>
@@ -57,7 +57,7 @@
</div><!-- End blog title container -->
- <div class="container markdown {{ if .Site.Params.fadein }} fade-in two {{ end }} top-pad"><!-- Begin blog post content -->
+ <div class="container markdown {{ if .Site.Params.fadeIn }} fade-in two {{ end }} top-pad"><!-- Begin blog post content -->
{{ .Content }}
</div><!-- End blog post content -->
diff --git a/layouts/index.html b/layouts/index.html
index 073477e..4fa88f8 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,35 +3,35 @@
<div class="section" id="top"> <!-- Where all the awesome begins -->
-<div class="hero is-{{ .Site.Params.introheight }}">
+<div class="hero is-{{ .Site.Params.introHeight }}">
<!-- Possible hero-head not used -->
<!-- Super sweet Hero body title -->
<div class="hero-body">
<div class="container has-text-centered">
<!-- Title and tagline -->
- <h1 class="bold-title {{ if .Site.Params.fadein }}fade-in one{{ end }}">
- Hi, I'm {{ .Site.Params.firstname }}.
+ <h1 class="bold-title {{ if .Site.Params.fadeIn }}fade-in one{{ end }}">
+ Hi, I'm {{ .Site.Params.firstName }}.
</h1>
- <h3 class="subtitle is-3 {{ if.Site.Params.fadein }} fade-in two{{ end }}">
- {{ .Site.Params.tagline }}
+ <h3 class="subtitle is-3 {{ if.Site.Params.fadeIn }} fade-in two{{ end }}">
+ {{ .Site.Params.tagLine }}
</h3>
<!-- End title and tagline -->
<!-- Some social icons -->
- <div class="{{ if .Site.Params.fadein }}fade-in three{{ end }}">
+ <div class="{{ if .Site.Params.fadeIn }}fade-in three{{ end }}">
{{ partial "social.html" . }}
</div>
<!-- End top social icons -->
</div>
</div> <!-- Hero body title end -->
<!-- Hero foot has nav bar -->
- <div class="hero-foot {{ if .Site.Params.fadein }}fade-in three{{ end }}">
+ <div class="hero-foot {{ if .Site.Params.fadeIn }}fade-in three{{ end }}">
<hr>
<nav class="nav-center">
<a class="nav-item" href="#about">About</a>
- {{ if .Site.Params.showprojects }}
+ {{ if .Site.Params.showProjects }}
<a class="nav-item" href="#projects">Projects</a>
{{ end }}
- {{ if .Site.Params.showblog }}
+ {{ if .Site.Params.showBlog }}
<a class="nav-item" href="#blog">Blog</a>
{{ end }}
<a class="nav-item" href="#contact">Contact</a>
@@ -42,7 +42,7 @@
</div><!-- End of top section -->
<!-- Everything below fades in three! -->
-<div class="section no-padding {{ if .Site.Params.fadein }}fade-in three{{ end }}">
+<div class="section no-padding {{ if .Site.Params.fadeIn }}fade-in three{{ end }}">
<!-- Tell them all about it! -->
<div class="section" id="about">
@@ -72,7 +72,7 @@
<!-- Now for some cool projects -->
- {{ if .Site.Params.showprojects }}
+ {{ if .Site.Params.showProjects }}
<div class="section" id="projects">
{{ partial "projects.html" . }}
</div><!-- End Projects section -->
@@ -82,7 +82,7 @@
<!-- Let's show some blog posts -->
- {{ if .Site.Params.showblog }}
+ {{ if .Site.Params.showBlog }}
<div class="section" id="blog">
{{ partial "blogsection.html" . }}
</div><!-- End Blog section -->
@@ -102,7 +102,7 @@
{{ end }}
</div>
- {{ if .Site.Params.localtime }}
+ {{ if .Site.Params.localTime }}
<p>My current local time is <span id="time"></span>.</p>
<script type="text/javascript" src="/js/moment.js"></script>
<script type="text/javascript" src="/js/moment-timezone.js"></script>
@@ -110,7 +110,7 @@
<script>
$(document).ready(function() {
- var time = moment().tz("{{ .Site.Params.timezone }}").format("h:mm A");
+ var time = moment().tz("{{ .Site.Params.timeZone }}").format("h:mm A");
$('#time').html(time);
})
</script>
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 @@
<div class="container"><!-- Begin Blog container -->
-{{ if .Site.Params.showlatest }}
+{{ 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 }}
+ <div class="summary">{{ .Date.Format .Site.Params.dateForm }}
<h3 class="title is-3 latest-post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<div class="markdown">
{{ .Summary }}
@@ -15,7 +15,7 @@
{{ end }}
{{ end }}
-{{ if .Site.Params.showallposts }}
+{{ if .Site.Params.showAllPosts }}
<h2 class="title is-2 has-text-centered top-pad">All Posts</h2>
<ul>
{{ 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 @@
<div class="section" id="footer"><!-- Begin Footer section -->
<div class="container has-text-centered"><!-- Begin Footer container -->
- {{ if .Site.Params.footertext }}
- {{ .Site.Params.footertext }}
+ {{ if .Site.Params.footerText }}
+ {{ .Site.Params.footerText }}
{{ else }}
<span class="footer-text"><a href="https://github.com/hivickylai/hugo-theme-introduction" target="_blank" rel="noopener">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank" rel="noopener">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i>. <a href="https://vickylai.io" target="_blank" rel="noopener">Vicky Lai</a> {{ now.Format "2006" }}</span>
{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index a600d09..89ca738 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -50,18 +50,18 @@ crossorigin="anonymous"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans">
-{{ if .Site.Params.cachebuster }}
+{{ if .Site.Params.cacheBuster }}
{{ $t := now.Unix }}
- <link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
- {{range .Site.Params.extracssfiles}}
+ <link rel="stylesheet" href="css/{{ .Site.Params.themeStyle }}-style.css?t={{$t}}">
+ {{range .Site.Params.extraCSSFiles}}
<link rel="stylesheet" href="{{.}}?t={{$t}}">
{{ end }}
{{ else }}
- <link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css">
- {{range .Site.Params.extracssfiles}}
+ <link rel="stylesheet" href="css/{{ .Site.Params.themeStyle }}-style.css">
+ {{range .Site.Params.extraCSSFiles}}
<link rel="stylesheet" href="{{.}}">
{{end}}
@@ -69,8 +69,8 @@ crossorigin="anonymous"></script>
<!-- Icon -->
<link rel="shortcut icon"
-{{ if .Site.Params.faviconfile }}
- href="{{ .Site.Params.faviconfile }}"
+{{ if .Site.Params.faviconFile }}
+ href="{{ .Site.Params.faviconFile }}"
{{ else }}
href="img/favicon.ico"
{{ end }}
diff --git a/layouts/partials/li.html b/layouts/partials/li.html
index 12ea89a..8761d7c 100644
--- a/layouts/partials/li.html
+++ b/layouts/partials/li.html
@@ -1,3 +1,3 @@
<li class="post-item">
- <span><a href="{{ .Permalink }}">{{ .Title }}</a></span> - <span>{{ .Date.Format .Site.Params.dateform }}</span>
+ <span><a href="{{ .Permalink }}">{{ .Title }}</a></span> - <span>{{ .Date.Format .Site.Params.dateForm }}</span>
</li> \ No newline at end of file
diff --git a/layouts/partials/nav-list.html b/layouts/partials/nav-list.html
index 9c44ce6..66debd6 100644
--- a/layouts/partials/nav-list.html
+++ b/layouts/partials/nav-list.html
@@ -12,7 +12,7 @@
<span class="nav-item">
<a href="/#about">About</a>
</span>
- {{ if .Site.Params.showprojects }}
+ {{ if .Site.Params.showProjects }}
<span class="nav-item">
<a href="/#projects">Projects</a>
</span>
diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html
index 69e2857..946bc86 100644
--- a/layouts/partials/projects.html
+++ b/layouts/partials/projects.html
@@ -5,8 +5,8 @@
<div class="section is-small">
<div class="columns is-multiline">
{{ range sort .Pages }} {{ if eq .Section "projects" }}
- {{ if eq .Site.Params.projectcolumns "2" }}
- <div class="column is-half"> {{ else if eq .Site.Params.projectcolumns "3" }}
+ {{ if eq .Site.Params.projectColumns "2" }}
+ <div class="column is-half"> {{ else if eq .Site.Params.projectColumns "3" }}
<div class="column is-one-third"> {{ end }}
<!-- Hey Vicky, show half column if number is even. -->
<div class="card">
@@ -17,7 +17,7 @@
{{ else }}
id="project{{.Title | urlize}}"
{{ end }}>
- <img src="{{ if .Params.image }}{{ .Params.image }}{{ else }}{{ .Site.Params.placeholderimg }}{{ end }}">
+ <img src="{{ if .Params.image }}{{ .Params.image }}{{ else }}{{ .Site.Params.placeHolderimg }}{{ end }}">
</a>
</figure>
</div>