mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
Adds examples of using content summary to example site
This commit is contained in:
parent
0a7e0a7650
commit
412ca20c86
3 changed files with 7 additions and 0 deletions
|
@ -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 = "/"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in a new issue