https://github.com/planetable/planetsitetemplates
Built-in site templates in PlanetSite.
https://github.com/planetable/planetsitetemplates
Last synced: 4 months ago
JSON representation
Built-in site templates in PlanetSite.
- Host: GitHub
- URL: https://github.com/planetable/planetsitetemplates
- Owner: Planetable
- Created: 2022-05-19T06:35:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-14T22:27:37.000Z (about 1 year ago)
- Last Synced: 2025-05-14T23:26:46.738Z (about 1 year ago)
- Language: Swift
- Size: 95.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Planet Site Templates
Built-in site templates in [Project Planet](https://github.com/Planetable/Planet).
* [Plain](https://github.com/Planetable/SiteTemplatePlain)
* [8-bit](https://github.com/Planetable/SiteTemplate8bit)
* [Grid](https://github.com/Planetable/SiteTemplateGrid)
* [Croptop](https://github.com/Planetable/SiteTemplateCroptop)
* [Sepia](https://github.com/Planetable/SiteTemplateSepia)
* [Memories](https://github.com/Planetable/SiteTemplateMemories)
## Initial Pull
```
git clone --recurse-submodules https://github.com/Planetable/PlanetSiteTemplates
```
If it is the first time you pull the repo, use the following command to check out all submodules.
```
git submodule update --init --recursive
```
## Sync with Sub Projects
```
git pull
git submodule update --remote
git add Sources
git commit -m "commit message"
git tag -a 0.2.3 -m "tag message"
git push origin main --tags
```
## Add a New Template as a Submodule
For example, `sepia` is a new template for microblogging, and you can add it as a submodule to the `Sources/PlanetSiteTemplates/Resources` folder like this:
```
cd Sources/PlanetSiteTemplates/Resources
git submodule add https://github.com/Planetable/SiteTemplateMemories memories
```
## To-Do
- [ ] Find a way to make this part of the main Planet app repo. A monorepo would be better.
- [ ] Template browser UI needs a way to add new templates.