Skip to content

Commit

Permalink
test: port test site from using wowchemy-bootstrap to wowchemy-tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Nov 1, 2023
1 parent 962eba5 commit c80f023
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 36 deletions.
2 changes: 2 additions & 0 deletions test/assets/dist/wc.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/assets/media/cake.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions test/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ title: Wowchemy Test
baseURL: https://example.com
module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
home: [HTML, RSS, WebAppManifest]
disableAliases: true
taxonomies: []
markup:
Expand Down
18 changes: 18 additions & 0 deletions test/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Home
date: 2023-11-01
type: landing

sections:
- block: markdown
content:
title: ⚡️ Section 1
text: |
Hello world 1 😃
![](cake.svg)
- block: markdown
content:
title: 🎉 Section 2
text: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lacinia tortor a leo elementum, vitae sollicitudin diam posuere. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas blandit quam sed justo blandit, sed tincidunt metus accumsan. Aenean at lacus nec neque mollis consectetur. Nullam non lorem dignissim, hendrerit nibh ut, ultricies augue. Integer finibus pellentesque mauris, et consectetur orci. Etiam id massa elementum, dapibus velit quis, vestibulum neque. Aenean scelerisque et quam vel vehicula. Sed rutrum et eros vulputate mattis. In finibus metus vel orci porttitor cursus. Duis commodo sed urna at cursus. Quisque et est eget elit pharetra volutpat. Fusce eleifend, eros non tristique interdum, justo lectus convallis turpis, sit amet sagittis ante mauris scelerisque enim. Suspendisse volutpat ultrices urna ac vehicula.
---
8 changes: 0 additions & 8 deletions test/content/admin/index.md

This file was deleted.

4 changes: 0 additions & 4 deletions test/content/home/index.md

This file was deleted.

10 changes: 0 additions & 10 deletions test/content/home/section.md

This file was deleted.

12 changes: 2 additions & 10 deletions test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ module github.com/wowchemy/wowchemy-hugo-themes/test

go 1.15

require (
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.6.0
)
require github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind main

replace (
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms => ../modules/wowchemy-plugin-netlify-cms
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify => ../modules/wowchemy-plugin-netlify
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 => ../modules/wowchemy
)
replace github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind => ../modules/wowchemy-tailwind

0 comments on commit c80f023

Please sign in to comment.