redstrate.com/README.md

36 lines
1.2 KiB
Markdown
Raw Normal View History

2022-08-02 12:17:07 -04:00
# redstrate.com
2023-08-05 09:36:31 -04:00
This is the source code of my personal website hosted at [redstrate.com](https://redstrate.com/).
2023-08-05 09:32:01 -04:00
## Building
2024-09-30 17:40:46 -04:00
You need [Hugo](https://gohugo.io/installation/) (extended edition) to build the site. To build the site, just run `hugo` and the built site will appear in `public`.
2023-08-05 09:32:01 -04:00
```
$ cd redstrate.com
$ hugo
```
For quick development, Hugo has a built-in HTTP server that auto-reloads on changes:
```
$ cd redstrate.com
$ hugo server
```
2024-09-30 17:40:46 -04:00
### Gallery System
2024-09-29 18:50:45 -04:00
2025-04-08 19:53:24 -04:00
The galleries are defined via JSON, located under `data`. The files are rarely edited by hand, I use [Redai](https://code.ryne.moe/redstrate/redai) to edit these. The JSON is read by Hugo when the site is built via [Content adapters](https://gohugo.io/content-management/content-adapters/).
## Contributing
Fixes for content errors like typos are appreciated, along with general fixes to the site like a broken image link.
## License
2023-10-07 09:47:33 -04:00
![License](https://licensebuttons.net/l/by-sa/3.0/88x31.png)
The content of this website is licensed under [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). There may be other copyrighted works showcased on this website that are licensed differently.
The Hugo themes of this website is licensed under the MIT license.