Video walkthrough
Set up Sveltia CMS, add content modules and watch the admin build itself, create content, build a page with blocks and fine-tune the admin. The steps below follow the video.
Prerequisites
- Git, Go and Hugo installed - See Hugolify documentation
- Use Hugolify template - See Hugolify documentation
1. Core modules
/config/_default/module.yaml
imports:
# Content
# Core theme
- path: github.com/hugolify/hugolify-theme/v2
- path: github.com/hugolify/hugolify-theme-icons # Lucide and Simple Icons
- path: github.com/hugolify/hugolify-theme-design-system # CSS and JS
# CMS
- path: github.com/hugolify/hugolify-admin/v2
- hugolify-theme/v2 provides layouts, content types, translations and archetypes, without CSS or JavaScript.
- hugolify-theme-design-system brings the CSS, built on design tokens, and vanilla JavaScript. It can be swapped for hugolify-theme-bootstrap without touching a template.
- hugolify-theme-icons is optional: Lucide for the interface, Simple Icons for brands, rendered as SVG.
- hugolify-admin/v2 generates the CMS configuration from your modules.
Content modules go under # Content, above the core modules, so they take precedence.
2. Set Sveltia CMS
/config/_default/params.yaml
admin:
cms: sveltiacms # set Sveltia CMS as CMS for Hugolify
repo: hugolify/hugolify-template # set your repository: owner/name
collections:
indexes:
enable: false # unused with Sveltia CMS
3. Launch the project and open the admin
Install packages, then launch Hugo with livereload:
yarn
yarn watch
Open http://localhost:1313/admin/, click Work with Local Repository (Chrome or Edge) and select the project folder. Changes are written to the files: commit and push them yourself.
Out of the box, the admin shows Pages, Menus and Config.

Sveltia CMS, signin page
4. Add content modules
Every content type is a module (sections and taxonomies): add it under # Content, fetch it, reload the admin, and its collection appears with all its fields. No CMS configuration to write.
A blog: posts, categories and tags
/config/_default/module.yaml
imports:
# Content
- path: github.com/hugolify/hugolify-theme-posts-categories/v2
- path: github.com/hugolify/hugolify-theme-posts-tags/v2
- path: github.com/hugolify/hugolify-theme-posts/v2
hugo mod get
Reload the admin: News, Categories and Tags appear.
Publications
- path: github.com/hugolify/hugolify-theme-publications/v2
Persons and relation modules
persons manages people for the whole site. Relation modules link them to other content: posts-authors adds an Authors field to news, publications-persons adds a Persons field to publications.
- path: github.com/hugolify/hugolify-theme-posts-authors/v2
- path: github.com/hugolify/hugolify-theme-publications-persons/v2
- path: github.com/hugolify/hugolify-theme-persons/v2
Projects
- path: github.com/hugolify/hugolify-theme-projects/v2
Result
/config/_default/module.yaml
imports:
# Content
- path: github.com/hugolify/hugolify-theme-projects/v2
- path: github.com/hugolify/hugolify-theme-posts-authors/v2
- path: github.com/hugolify/hugolify-theme-publications-persons/v2
- path: github.com/hugolify/hugolify-theme-persons/v2
- path: github.com/hugolify/hugolify-theme-publications/v2
- path: github.com/hugolify/hugolify-theme-posts-categories/v2
- path: github.com/hugolify/hugolify-theme-posts-tags/v2
- path: github.com/hugolify/hugolify-theme-posts/v2
# Core theme
- path: github.com/hugolify/hugolify-theme/v2
- path: github.com/hugolify/hugolify-theme-icons
- path: github.com/hugolify/hugolify-theme-design-system
# CMS
- path: github.com/hugolify/hugolify-admin/v2
5. Create content
In the admin:
- Persons → New: first name, last name, a short description. Switch off Draft and save.
- News → New: a title, a description, the author, a category and some text. The Markdown file is written in
content/posts/. - Menus → header menu: add links to News, Publications and the Team page.
6. Build a page with blocks
Open Pages → Home and add blocks: a Title, a Paragraph and a Latest items block (section posts, limit 3). Save and check the website: the latest news come straight from the posts.

Sveltia CMS, pages list
7. Fine-tune the admin
All the next settings go in the same file, under admin.
/config/_default/params.yaml
Choose the blocks editors can use
admin:
blocks:
enable:
- title
- paragraph
- latest
- cta
- quote
- faq
Group collections
Set the order of the sidebar and group collections together:
admin:
collection_groups:
- collections: [pages]
- collections: [posts, posts_categories, posts_tags]
- collections: [persons, publications, projects]
- collections: [menus, config]
Filters, groups, columns and sort order
For the news list: a filter for drafts, a grouping by year, the table columns and the sort order.
admin:
collections:
posts:
view_filters:
- label: Drafts
field: draft
pattern: true
view_groups:
- label: Year
field: date
pattern: '\d{4}'
summary_fields: [title, date, draft]
sortable_fields:
- field: date
default_sort: desc
- title
Bulk edit
Bulk edit lets editors change several entries at once, right in the table view. It is on by default; turn it off or pick its columns per collection:
admin:
collections:
persons:
bulk_edit: [title, draft] # these columns, in this order
Override fields
The hero keeps only a title and a text:
admin:
fields:
hero:
fields:
- title
- text_markdown
Hide a collection
admin:
collections:
posts_tags:
enable: false
More about customizations
- About Admin: languages, media folders, file size limits…
- About Sveltia CMS

Sveltia CMS, contact page
Hosting your project
Host your website on Netlify or others hosters.
To let editors sign in with GitHub and publish on demand, follow How to connect Sveltia CMS to GitHub and Netlify using Hugolify.