refactor: move test/ and yarn to repo root

Also lint and format entire repo, beyond just wowchemy/ dir

URL encode `(` and `)` in `[#MadeWithWowchemy](...(..)...)` in Readme.md for Prettier
This commit is contained in:
George Cushen 2021-02-03 20:11:16 +00:00
commit 3f1c4b4df2
22 changed files with 55 additions and 59 deletions

24
test/config.yaml Normal file
View file

@ -0,0 +1,24 @@
title: Wowchemy Test
baseurl:
module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
disableAliases: true
taxonomies: []
params:
require_isotope: false
day_night: true
theme: minimal
font: native
main_menu:
enable: false
search:
engine: 0
security:
csp:
policy:
report_only: false
cms:
branch: master

View file

@ -0,0 +1,4 @@
---
type: widget_page
headless: true
---

View file

@ -0,0 +1,9 @@
---
widget: blank
headless: true
weight: 1
design:
columns: '1'
---
Hello world 😃

7
test/go.mod Normal file
View file

@ -0,0 +1,7 @@
module github.com/wowchemy/wowchemy-hugo-modules/test
go 1.15
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210202235530-9bbf6fa2a698
replace github.com/wowchemy/wowchemy-hugo-modules/wowchemy => ../wowchemy

1
test/view.sh Executable file
View file

@ -0,0 +1 @@
hugo server -p 1330 --minify --templateMetrics --templateMetricsHints