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 pygmentsCodefencesGuessSyntax = true
pygmentsUseClasses = 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]] [[menu.main]]
name = "Home" name = "Home"
url = "/" url = "/"

View file

@ -3,6 +3,7 @@ title: 'Configuration'
date: 2019-02-11T19:30:08+10:00 date: 2019-02-11T19:30:08+10:00
draft: false draft: false
weight: 4 weight: 4
summary: Syntax highlighting and menus can be configured via `config.toml`.
--- ---
## Syntax Highlighting ## 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. Whisper is a minimal documentation theme built for Hugo. The design and functionality is intentionally minimal.
<!--more-->
## Quickstart ## Quickstart
Copy or git clone this theme into the sites themes folder `mynewsite/themes` Copy or git clone this theme into the sites themes folder `mynewsite/themes`