diff options
author | mblum <me@mblum.me> | 2017-07-06 06:27:48 +0300 |
---|---|---|
committer | mblum <me@mblum.me> | 2017-07-06 06:34:31 +0300 |
commit | b43e6bb501972a65024388e67445a78a3db0eaef (patch) | |
tree | 76972e92260c0721f05af6fcd2e17393ba01a3ac /README.md | |
parent | 55928adcdff1a87fdea85abbdc327bad35cdf636 (diff) |
[THEME] Hugo Now: a port of Jekyll Now #273 - converted YAMl to TOML, fixed Google Analytics, and moved screenshots
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 51 |
1 files changed, 26 insertions, 25 deletions
@@ -1,6 +1,6 @@ # Hugo Now -![Hugo Now](https://raw.githubusercontent.com/mikeblum/hugo-now/master/static/images/hugo-now.png) +![Hugo Now](https://raw.githubusercontent.com/mikeblum/hugo-now/master/static/logo/hugo-now.png) A Hugo port of [Jekyll Now](https://github.com/barryclark/jekyll-now). The Hugo implementation is inspired by [Hemingway](https://github.com/tanksuzuki/hemingway). @@ -92,34 +92,35 @@ Your `.gitmodules` should now contain: ## Configure -`config.yaml` +`config.toml` -``` ---- -baseurl: -languageCode: en -title: +```toml +baseurl = "http://example.org/" +languageCode = "en-us" +title = "My New Hugo Site" # theme -theme: "hugo-now" - -taxonomies: - category: "categories" - tag: "tags" - -params: - description: - author: - keywords: [] - avatar: /images/profile.jpg - displayauthor: false +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 + PygmentsUseClasses = true + PygmentsCodeFences = true # pagination - paginate: 10 - paginatePath: page - # google analytics - GoogleAnalytics: UA-XXXXXX + paginate = 10 + paginatePath = "page" ``` ## Content |