www/README.md

50 lines
1.1 KiB
Markdown
Raw Normal View History

2022-06-08 02:22:17 +03:00
![tea](https://tea.xyz/banner.png)
2022-03-23 07:04:33 +03:00
2022-07-07 23:18:49 +03:00
Deploys to [tea.xyz].
2022-03-25 16:50:26 +03:00
2022-06-08 02:22:17 +03:00
2022-07-07 23:18:49 +03:00
# Legal
2022-03-25 16:50:26 +03:00
2022-07-07 23:18:49 +03:00
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.
2022-05-04 22:11:49 +03:00
2022-06-08 02:22:17 +03:00
2022-07-07 23:18:49 +03:00
# Contributing
2022-05-04 22:11:49 +03:00
2022-07-07 23:18:49 +03:00
* 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/`].
2022-05-04 22:11:49 +03:00
2022-07-07 23:18:49 +03:00
## Getting Started
2022-05-04 22:11:49 +03:00
2022-07-07 23:18:49 +03:00
hugo can render your edits while you work:
2022-07-07 23:18:49 +03:00
```sh
hugo serve --watch --buildDrafts --source src
```
2022-07-07 23:18:49 +03:00
## Dependencies
2022-07-07 23:18:49 +03:00
Install hugo yourself or use tea: `sh <(curl tea.xyz) hugo`.
2022-07-07 23:18:49 +03:00
| Project | Version |
|------------|---------|
| gohugo.io | >=0.99 |
2022-07-07 23:18:49 +03:00
# Build
2022-07-07 23:18:49 +03:00
Builds a static, deployable version of the website.
2022-07-07 23:18:49 +03:00
```sh
hugo --source src --destination ../public --minify
```
2022-07-07 23:18:49 +03:00
[tea.xyz]: https://tea.xyz
2022-06-08 02:22:17 +03:00
[Bootstrap]: https://getbootstrap.com/docs/5.2/getting-started/introduction/
2022-07-07 23:18:49 +03:00
[Hugo]: https://gohugo.io/documentation/
[`./src/layouts/page/`]: src/layouts/page
[`./src/content/`]: src/content
[`./src/layouts/partials/`]: src/layouts/partials