Skip to content
Permalink
Browse files

Add settings to readme

  • Loading branch information
shenoybr committed Oct 12, 2016
1 parent 7f5082b commit e619bde01eeb2e17e7a287463f66294e5c9cf5d5
Showing with 12 additions and 0 deletions.
  1. +7 −0 README.md
  2. +1 −0 archetypes/default.md
  3. +4 −0 layouts/_default/single.html
@@ -44,6 +44,13 @@ directory.
hugo new projects/index.md
````

### Page settings

These settings are at the page level.

- `showpagemeta`: `default=true`. This allows you to disable page meta information from being displayed. For example, this setting is disabled [here](https://shenoybr.github.io/hugo-goa-demo/about/) and enabled [here](https://shenoybr.github.io/hugo-goa-demo/coderag/).
- `showcomments`: `default=true`. Enables or disable comments. For example, this setting is disabled [here](https://shenoybr.github.io/hugo-goa-demo/blog/third/) and enabled [here](https://shenoybr.github.io/hugo-goa-demo/blog/first/).

## Configuration

The provided [config.toml](https://github.com/shenoybr/hugo-goa/blob/master/exampleSite/config.toml) describes all options and features that are supported. Configure it your way!
@@ -6,4 +6,5 @@ tags = []
categories = []

showpagemeta = true
showcomments = true
+++
@@ -2,8 +2,12 @@

{{ partial "content.html" . }}

{{ if ne .Params.showcomments false }}

{{ template "_internal/disqus.html" . }}

{{ end }}

{{ partial "menu.html" . }}

{{ partial "footer.html" . }}

0 comments on commit e619bde

Please sign in to comment.
You can’t perform that action at this time.