Skip to main content
HydroGo
IntroductionCore concepts

Core concepts

The vocabulary used throughout the docs: modules, content types, locales, roles, drafts and revisions.

Content

ConceptMeaning
PageA document with a slug, a locale, a body and blocks. Has draft and published states and revisions.
News articleLike a page, plus categories, tags, scheduled publishing and retraction.
Content typeA collection you define in YAML, for example faq or team. Records get admin screens and, if public: true, a read API.
MediaUploaded files with derivatives (WebP, thumbnails), alt text and focal points.
MemberA visitor account of your site, separate from admin users.
Site settingsBusiness profile, navigation, redirects, forms, maintenance mode and translations.

Publishing states

Pages and news have a draft and a published state. Content types opt in with drafts: true; new records then start as drafts and the public API never returns drafts. With revisions: true HydroGo keeps the last 50 versions of each record so editors can compare and restore.

Locales

HydroGo supports several content locales per site (i18n config). Pages and news are per-locale documents; content type fields marked localized: true hold a value per locale and fall back to the default locale. This is separate from the admin interface language. See Multi-language.

People

RoleCan
adminEverything, including users, roles, settings and system tools.
editorCreate and edit content within granted permissions.
viewerRead-only access to the admin.

Fine-grained permissions can be granted per user on top of the role. Members (site visitors) never see the admin. Read more in Security.

Credentials

Three kinds of credential work against admin endpoints through the same middleware: a session cookie with a CSRF header (the admin SPA), a Bearer token, or an API key. See Authentication.

Keep brand names, menus, dates and demo credentials out of the core codebase; they belong in seed data, config or your own frontend. This is a rule contributors follow, and a good habit in your own projects too.