Adds examples of using content summary to example site

This commit is contained in:
James Remeika 2019-08-06 00:09:34 -04:00
parent 0a7e0a7650
commit 412ca20c86
3 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,10 @@ pygmentsCodeFences = true
pygmentsCodefencesGuessSyntax = true
pygmentsUseClasses = true
# Controls how many words are printed in the content summary on the docs homepage.
# See https://gohugo.io/content-management/summaries/
summaryLength = 30
[[menu.main]]
name = "Home"
url = "/"

View File

@ -3,6 +3,7 @@ title: 'Configuration'
date: 2019-02-11T19:30:08+10:00
draft: false
weight: 4
summary: Syntax highlighting and menus can be configured via `config.toml`.
---
## Syntax Highlighting

View File

@ -6,6 +6,8 @@ weight: 7
Whisper is a minimal documentation theme built for Hugo. The design and functionality is intentionally minimal.
<!--more-->
## Quickstart
Copy or git clone this theme into the sites themes folder `mynewsite/themes`