Skip to content

Commit a59b21a

Browse files
tiagokrebsTiago Roberto Mutschall Krebs
and
Tiago Roberto Mutschall Krebs
authored
feat: add hugo preset (#192)
Co-authored-by: Tiago Roberto Mutschall Krebs <krebs@Tiagos-MacBook-Air.local>
1 parent bd29324 commit a59b21a

File tree

10 files changed

+1343
-0
lines changed

10 files changed

+1343
-0
lines changed

examples/hugo-static/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
themes/ananke
2+
.edge/
3+
.hugo_build.lock
4+
.vulcan

examples/hugo-static/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Hugo Quickstart
2+
3+
First, an Hugo theme is necessary.
4+
```
5+
git clone https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
6+
```
7+
8+
Remember to install Vulcan for Development locally.
9+
10+
Then you can install and forge the example.
11+
```
12+
npm install
13+
14+
vulcan build --preset hugo --mode deliver
15+
```
16+
17+
Run it locally.
18+
```
19+
vulcan dev
20+
```
21+
22+
Check it out on http://localhost:3000/.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
3+
date = {{ .Date }}
4+
draft = true
5+
+++
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
+++
2+
title = 'My First Post'
3+
date = 2024-02-03T08:02:03-03:00
4+
draft = false
5+
+++
6+
7+
## Introduction
8+
9+
This is **bold** text, and this is *emphasized* text.
10+
11+
Visit the [Hugo](https://gohugo.io) website!

examples/hugo-static/hugo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
baseURL = 'https://example.org/'
2+
languageCode = 'en-us'
3+
title = 'My New Hugo Site'
4+
theme = 'ananke'

0 commit comments

Comments
 (0)