Publishing layouts
1 min läsning
When you're happy with a layout and want others to use it, you can publish it to the layout library. To make the layout as easy to use as possible, check the following first.
Before publishing
Use design tokens. Fonts, colors and sizes can all be tokens, so others can quickly adjust them to their own branding. Name tokens after their purpose, not their value:
Primaryrather thanBlue. After making changes, check that the tokens are still applied everywhere they should be.Use a readable slug. A new layout gets a random slug. Change it to a readable one before publishing.
Name variables consistently. Standard names help the AI understand the layout's structure.
snake_caseusually works best.Sort variables top to bottom. When variables are in the order the layout uses them, the AI fills the CV from top to bottom too, which is easier to follow.
Add translations. Layouts usually have only a few fixed pieces of text, so translating them is a quick way to make the layout useful to more people.
Publishing
In the Publishing tab of the layout editor:
Publish to layout library makes the layout public: anyone can find it in the layout library and copy it. Unpublish layout makes it private again; its library page then sends visitors to the library.
Shareable link sets the layout's address in the library and copies its link. A private layout's link includes a secret, so you can show it to someone without publishing it.
SEO description is the description search engines and the library show.
Changing the address of a published layout keeps its old link working.