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

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormblum <me@mblum.me>2017-07-06 06:27:48 +0300
committermblum <me@mblum.me>2017-07-06 06:34:31 +0300
commitb43e6bb501972a65024388e67445a78a3db0eaef (patch)
tree76972e92260c0721f05af6fcd2e17393ba01a3ac /exampleSite
parent55928adcdff1a87fdea85abbdc327bad35cdf636 (diff)
[THEME] Hugo Now: a port of Jekyll Now #273 - converted YAMl to TOML, fixed Google Analytics, and moved screenshots
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml26
-rw-r--r--exampleSite/config.yaml27
-rw-r--r--exampleSite/content/post/javascript-support.md2
3 files changed, 27 insertions, 28 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..a6aa135
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,26 @@
+baseurl = "http://example.org/"
+languageCode = "en-us"
+title = "My New Hugo Site"
+# theme
+theme = "hugo-now"
+# Comment the themesDir option if you use this theme in production
+themesDir = "../.."
+# google analytics
+GoogleAnalytics = "UA-XXXXXX"
+
+[taxonomies]
+ category = "categories"
+ tag = "tags"
+
+[params]
+ description = "Hugo port of Jekyll Now"
+ author = "Hugo Now"
+ keywords = ["hugo-now", "hugo"]
+ avatar = "/images/hugo.png"
+ displayauthor = false
+ # pygments
+ PygmentsUseClasses = true
+ PygmentsCodeFences = true
+ # pagination
+ paginate = 10
+ paginatePath = "page"
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
deleted file mode 100644
index eca0b4d..0000000
--- a/exampleSite/config.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-baseurl: "http://example.org/"
-languageCode: en
-title: My New Hugo Site
-# theme
-theme: "hugo-now"
-# Comment the themesDir option if you use this theme in production
-themesDir: ../..
-
-taxonomies:
- category: "categories"
- tag: "tags"
-
-params:
- description: Hugo port of Jekyll Now
- author: Hugo Now
- keywords: ["hugo-now", "hugo"]
- avatar: /images/hugo.png
- displayauthor: false
- # pygments
- PygmentsUseClasses: true
- PygmentsCodeFences: true
- # pagination
- paginate: 10
- paginatePath: page
- # google analytics
- # GoogleAnalytics: UA-XXXXXX \ No newline at end of file
diff --git a/exampleSite/content/post/javascript-support.md b/exampleSite/content/post/javascript-support.md
index ae6cbd4..de29063 100644
--- a/exampleSite/content/post/javascript-support.md
+++ b/exampleSite/content/post/javascript-support.md
@@ -26,7 +26,7 @@ tags: ["bootstrap", "javascript", "noscript"]
<div id="js-enabled-msg" class="bd-callout bd-callout-success js-enabled">
<h4>Javascript Enabled</h4>
- <p>While Hugo Now assumes javascript is disabled, full Bootstrap JS is supported</p>p>
+ <p>While Hugo Now assumes javascript is disabled, full Bootstrap JS is supported</p>
<p>(see <code>partials/javascript.html</code>)</p>
</div>