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

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Shenoy <shenoybr@users.noreply.github.com>2016-11-24 07:13:09 +0300
committerGitHub <noreply@github.com>2016-11-24 07:13:09 +0300
commitdafbf9fc19fe9d1d84eb6c25ed28a89892fdb2c5 (patch)
treeaec313637e6c5409d160603a2921f716ea351308
parentf38e65f7cb959d28575e80a41d5ecec92eb19804 (diff)
parent7ef5bc524482e6cfd8903a1622512276d36a2d5c (diff)
Merge pull request #10 from Sergobot/master
Finally fix list, content and avatar templates
-rw-r--r--README.md10
-rw-r--r--exampleSite/config.toml10
-rw-r--r--layouts/partials/avatar.html2
-rw-r--r--layouts/partials/content.html2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/li.html2
-rw-r--r--layouts/partials/social.html2
-rw-r--r--layouts/partials/sub_footer.html2
9 files changed, 17 insertions, 17 deletions
diff --git a/README.md b/README.md
index 1dbc5a0..8284240 100644
--- a/README.md
+++ b/README.md
@@ -85,8 +85,8 @@ These are settings that are specific to this theme.
- `author`: Main author name. eg. `Erlich Bachman`.
- `intro`: Author introduction. This field supports markdown. eg. `Startup Guru Extraordinaire`.
- `description`: Author description. This field supports markdown. eg. `Now @Pied Piper. Previously @Hacker Hostel, @Bachmanity and @Aviato. <br/> \"What is F times 5? It's Fleventy-five.\"`.
-- `authorImage`: Location of author image under static/img directory. eg. `headshot.jpg`
-- `dateFormat`: Golang date format to be used on this site. eg. `Jan 2, 2006`
+- `authorimage`: Location of author image under static/img directory. eg. `headshot.jpg`
+- `dateformat`: Golang date format to be used on this site. eg. `Jan 2, 2006`
### Site Meta Settings `[params.meta]`
@@ -101,7 +101,7 @@ These settings to display your social accounts.
- `github`: Your github username.
- `instagram`: Your instagram username.
-- `linkedIn`: Your linkedIn username.
+- `linkedin`: Your linkedIn username.
- `twitter`: Your twitter username.
- `facebook`: Your facebook username.
- `google`: Your google username.
@@ -112,8 +112,8 @@ These settings to display your social accounts.
These settings for extra features that this site uses.
- `copyright`: Add a copyright statement to the bottom of the theme. eg. `© 2016. Erlich Bachman. [Some Rights Reserved](http://creativecommons.org/licenses/by/3.0/)."`
-- `poweredBy`: Help promote this theme and give the authors credit. eg. `true` or `false`.
-- `highlightJS`: Use highlightJS to highlight code on your site. eg. `true` or `false`.
+- `poweredby`: Help promote this theme and give the authors credit. eg. `true` or `false`.
+- `highlightjs`: Use highlightJS to highlight code on your site. eg. `true` or `false`.
### Main Menu `[[menu.main]]`
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e003747..918d1a9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -24,8 +24,8 @@ enableRobotsTXT = true
author = "Erlich Bachman"
intro = "Startup Guru Extraordinaire"
description = "Now @Pied Piper. Previously @Hacker Hostel, @Bachmanity and @Aviato. <br/> \"What is F times 5? It's Fleventy-five.\""
-authorImage = "headshot.jpg"
-dateFormat = "Jan 2, 2006"
+authorimage = "headshot.jpg"
+dateformat = "Jan 2, 2006"
## Site Meta Settings
[params.meta]
@@ -36,7 +36,7 @@ keywords = "minimalist,blog,goa,hugo,developer"
[params.social]
github = "<username>"
instagram = "<username>"
-linkedIn = "<username>"
+linkedin = "<username>"
twitter = "<username>"
facebook = "<username>"
google = "<username>"
@@ -45,8 +45,8 @@ email = "you@example.com"
## Extras
[params.extra]
copyright = "© 2016. Erlich Bachman. [Some Rights Reserved](http://creativecommons.org/licenses/by/3.0/)."
-poweredBy = true
-highlightJS = true
+poweredby = true
+highlightjs = true
## Main Menu
[[menu.main]]
diff --git a/layouts/partials/avatar.html b/layouts/partials/avatar.html
index ef505b9..ccdc6af 100644
--- a/layouts/partials/avatar.html
+++ b/layouts/partials/avatar.html
@@ -1,4 +1,4 @@
<header class="row text-center header">
- {{ with .Site.Params.authorImage }} <img src="img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
+ {{ with .Site.Params.authorimage }} <img src="img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
<h1 class="author">{{ .Site.Params.author }}</h1>
</header>
diff --git a/layouts/partials/content.html b/layouts/partials/content.html
index 4cb137b..72a29b2 100644
--- a/layouts/partials/content.html
+++ b/layouts/partials/content.html
@@ -5,7 +5,7 @@
{{ if ne .Params.showpagemeta false }}
<div class="col-md-12">
<h6 class="text-left meta">
- PUBLISHED ON {{ .Date.Format .Site.Params.dateFormat | upper }}
+ PUBLISHED ON {{ .Date.Format .Site.Params.dateformat | upper }}
{{ $total := len .Params.categories }}
{{ if gt $total 0 }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d96903e..783c232 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -3,7 +3,7 @@
</div>
{{ with .Site.Params.extra }}
-{{ if .highlightJS }}
+{{ if .highlightjs }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script>
<script type="text/javascript">
hljs.initHighlightingOnLoad();
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 480685e..0a67ff5 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -21,7 +21,7 @@
<link href="{{ . }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
-{{ if .Site.Params.extra.highlightJS }}
+{{ if .Site.Params.extra.highlightjs }}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css">
{{ end }}
diff --git a/layouts/partials/li.html b/layouts/partials/li.html
index 32d91e7..680e945 100644
--- a/layouts/partials/li.html
+++ b/layouts/partials/li.html
@@ -4,7 +4,7 @@
<li class="list-entry">
<a class="list-entry-link" href="{{ .Permalink }}">{{ .Title }}</a>
<p class="meta">
- {{ .Date.Format .Site.Params.dateFormat | upper }}
+ {{ .Date.Format .Site.Params.dateformat | upper }}
<span class="category">
{{ $total := len .Params.categories }}
{{ if gt $total 0 }}
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 154bc59..7199134 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -14,7 +14,7 @@
{{ with .Site.Params.social.instagram }}
<a href="https://instagram.com/{{.}}"><i class="fa fa-instagram" aria-hidden="true"></i></a>
{{ end }}
- {{ with .Site.Params.social.linkedIn }}
+ {{ with .Site.Params.social.linkedin }}
<a href="https://linkedin.com/in/{{.}}"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.social.stackoverflow }}
diff --git a/layouts/partials/sub_footer.html b/layouts/partials/sub_footer.html
index 85d0a22..1d3974e 100644
--- a/layouts/partials/sub_footer.html
+++ b/layouts/partials/sub_footer.html
@@ -2,7 +2,7 @@
<hr />
{{ with .Site.Params.extra }}
<h6 class="text-center copyright">{{ .copyright | markdownify }}</h6>
- {{ if ne .poweredBy false }}
+ {{ if ne .poweredby false }}
<h6 class="text-center powered">Powered by <a href="https://gohugo.io/">Hugo</a> &amp; <a href="https://github.com/shenoybr/hugo-goa">Goa</a>.</h6>
{{ end }}
{{ end }}