mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-25 10:50:50 +02:00
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:
parent
9bbf6fa2a6
commit
3f1c4b4df2
22 changed files with 55 additions and 59 deletions
24
test/config.yaml
Normal file
24
test/config.yaml
Normal 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
|
4
test/content/home/index.md
Normal file
4
test/content/home/index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
type: widget_page
|
||||
headless: true
|
||||
---
|
9
test/content/home/section.md
Normal file
9
test/content/home/section.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
widget: blank
|
||||
headless: true
|
||||
weight: 1
|
||||
design:
|
||||
columns: '1'
|
||||
---
|
||||
|
||||
Hello world 😃
|
7
test/go.mod
Normal file
7
test/go.mod
Normal 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
1
test/view.sh
Executable file
|
@ -0,0 +1 @@
|
|||
hugo server -p 1330 --minify --templateMetrics --templateMetricsHints
|
Loading…
Add table
Add a link
Reference in a new issue