0.1.202401011233 • Published 4 months ago

@googleforcreators/templates v0.1.202401011233

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

Templates

This package contains the templates used by the dashboard and the editor (as part of page templates).

Template Creation

See External Template Creation.

Generating images for templates

Run npm run workflow:render-template-posters to generate and save each template page as an image in the build/template-posters/ folder. Then move and commit the images to the GoogleForCreators/wp.stories.google repo under public/static/main/images/templates/<template-name>/posters.

You will want to run the resulting images through ImageOptim locally to optimize them before adding them to the repo.