mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
update terminal gif
This commit is contained in:
parent
42e5371fb9
commit
ad3a48ccc9
10 changed files with 92 additions and 75 deletions
|
@ -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.
|
||||
|
|
33
exampleSite/content/docs/example/index.md
Normal file
33
exampleSite/content/docs/example/index.md
Normal file
|
@ -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';
|
||||
}
|
||||
}
|
||||
```
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue