mirror of
https://github.com/ivabus/www
synced 2024-11-26 14:45:05 +03:00
26cea2aedd
- automatically create /packages/[packageName].md on /src/content/packages/*
1.3 KiB
1.3 KiB
Deploys to tea.xyz.
Legal
You may not publish this website in an attempt to masquerade as tea.inc. The tea logo and wordmark are registered trademarks of tea.inc.
Contributing
- The site is built with Hugo and Bootstrap.
.html
files in./src/layouts/page/
have a corresponding.md
file in./src/content/
.- Repeated components are in
./src/layouts/partials/
.
Getting Started
Just once assuming there are no updates in /src/data/packages.json
. This will create the package detail pages.
.github/build-package-pages.sh src/data/packages.json src/content/packages
hugo can render your edits while you work:
hugo serve --watch --buildDrafts --source src
Dependencies
Install hugo yourself or use tea: sh <(curl tea.xyz) hugo
.
Project | Version |
---|---|
gohugo.io | >=0.99 |
Build
Builds a static, deployable version of the website.
.github/build-package-pages.sh src/data/packages.json src/content/packages
hugo --source src --destination ../public --minify