Swiftpack.co - Planetable/PlanetSiteTemplates as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Planetable.
Planetable/PlanetSiteTemplates 0.8.0
Built-in site templates in PlanetSite.
⭐️ 1
🕓 45 weeks ago
iOS macOS
.package(url: "https://github.com/Planetable/PlanetSiteTemplates.git", from: "0.8.0")

Planet Site Templates

Built-in site templates in Project Planet.

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/SiteTemplateSepia sepia

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.

GitHub

link
Stars: 1
Last commit: 4 days ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics