diff options
author | Robert Austin <rob@jugglerdigital.com> | 2019-02-17 16:20:34 +0300 |
---|---|---|
committer | Robert Austin <rob@jugglerdigital.com> | 2019-02-17 16:20:34 +0300 |
commit | ad3a48ccc910411dd244f14e1b38c4c03bd22752 (patch) | |
tree | 1ba5917c1e0a24484045a356a8acdd5fb5152a4a /exampleSite | |
parent | 42e5371fb9cb5ecc30a35d8d22a660f7c84565be (diff) |
update terminal gif
Diffstat (limited to 'exampleSite')
3 files changed, 35 insertions, 13 deletions
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 37fe3ef..fc95b11 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -1,12 +1,6 @@ --- title: 'Hugo Whisper' date: 2018-11-28T15:14:39+10:00 -icon: 'services/service-icon-2.png' -featured: true -draft: false -heroHeading: 'Business Advisory' -heroSubHeading: 'Expert advice and guidance when you need it most.' -heroBackground: 'services/service2.jpg' --- -Whisper is a minimal documentation theme for Hugo. The design and functionality is intentionally minimal. We're aiming for a similar feel to a Github readme. +Whisper is a documentation theme built with Hugo. The design and functionality is intentionally minimal. diff --git a/exampleSite/content/docs/example/index.md b/exampleSite/content/docs/example/index.md new file mode 100644 index 0000000..7cb254c --- /dev/null +++ b/exampleSite/content/docs/example/index.md @@ -0,0 +1,33 @@ +--- +title: 'Hugo Whisper' +date: 2019-02-11T19:27:37+10:00 +weight: 7 +--- + +Whisper is a minimal documentation theme built for Hugo. The design and functionality is intentionally minimal. + +## Quickstart + +Copy or git clone this theme into the sites themes folder `mynewsite/themes` + +``` +hugo new site whisper +git clone https://github.com/jugglerx/hugo-whisper-theme.git +``` + +### Code Highlighting + +Whisper uses Hugo's in-built code highlighting with a github style code highlighting theme. https://gohugo.io/content-management/syntax-highlighting/ + +You can insert code snippets in any markdown file by using standard code fences syntax ie: + +```js +function myFunction() { + var x = document.getElementById('myDIV'); + if (x.style.display === 'none') { + x.style.display = 'block'; + } else { + x.style.display = 'none'; + } +} +``` diff --git a/exampleSite/resources/_gen/assets/scss/scss/style.scss_5ad6f408b0e3e473c748aac88af0ea18.content b/exampleSite/resources/_gen/assets/scss/scss/style.scss_5ad6f408b0e3e473c748aac88af0ea18.content index ada63e6..d19fc57 100644 --- a/exampleSite/resources/_gen/assets/scss/scss/style.scss_5ad6f408b0e3e473c748aac88af0ea18.content +++ b/exampleSite/resources/_gen/assets/scss/scss/style.scss_5ad6f408b0e3e473c748aac88af0ea18.content @@ -5714,7 +5714,7 @@ ol { .content p { font-family: "Roboto", Arial, sans-serif, -apple-system; font-size: 1rem; - line-height: 1.7; + line-height: 1.4; color: #383f45; font-weight: 400; } .content h1 { @@ -6122,11 +6122,6 @@ ol { .page-home p { width: 60%; } } .page-home .terminal { - border: 1px solid #dcdcdc; - border-radius: 3px; - box-shadow: 0 1px 18px rgba(0, 0, 0, 0.2); - background: #ffffff; - padding: 10px; border-radius: 3px; margin: 0 auto; margin-top: -200px; } |