This site has no database or CMS – it's statically generated with Hugo

7 min read

Most websites work like this: every time you open a page, a database and a content management system run in the background and rebuild it from scratch. This site doesn't. It's just a set of pre-built HTML files. It sounds old-fashioned, but it's one of the fastest, most secure and cheapest ways to build a company website today.

A crowd of paper hoopoes protesting with signs reading NO DATABASES, NO CMS and GO HTML

What „a static site“ means

A classic website (on WordPress, say) is like a restaurant that cooks your meal only once you order it: on every visit the server runs a program, asks the database and assembles the page on the spot. A static site is like a bakery, the rolls are already baked, you just grab them. The pages are finished in advance and the server sends them straight to you.

What tools do I need?

These sites are built with so-called static site generators, the best known are Hugo, Astro and Eleventy. We chose Hugo: we write content in plain text, the design lives in templates, and Hugo assembles finished HTML from them.

ToolBuilt onBest for
HugoGoLightning-fast builds, content sites
AstroJavaScriptInteractive elements and web apps
EleventyJavaScriptSimplicity and flexibility

Why we did it this way

  • Speed: finished HTML shows up practically instantly.
  • Security: with no database and no login, common attacks have nothing to target.
  • Cheap hosting: static files run even on cheap, often free hosting, and the site handles big traffic spikes.
  • Order: we keep the whole site saved step by step, so we can return to an older version anytime; nothing „gets lost in the admin“.
  • One source for multiple languages: we generate the Slovak and English versions from a single codebase.

How it actually works

We write content into a text file, Hugo combines it with a template and generates the finished page in a few tens of milliseconds. We upload the result to hosting. No admin, no plugins, no „please update your system core“.

Static site vs. a classic CMS

FeatureStatic site (Hugo)Classic CMS (WordPress)
SpeedInstant loadingDepends on the server and database
SecurityAlmost nothing to attackNeeds patches and plugins
HostingCheap to freeA more powerful server
MaintenanceMinimalRegular updates
Edits without a developerYes, once set upYes, via the admin
Login, e-shopOnly with extra servicesPart of the system

When a static site isn't a good idea

It's not universal. It's a poor fit when a site needs logins and user accounts, a full e-shop with a cart and real-time inventory, when content changes every few minutes without a set process, or when it's a heavily interactive application. For most company websites, blogs, portfolios and landing pages, though, it's a perfect match.

Who it makes sense for

Company websites, blogs, portfolios, presentation pages: anywhere the content is valuable but doesn't change every second. These are exactly the kinds of sites we build for clients too: fast, secure and cheap to run.

Frequently asked questions

How do you add an article when you have no CMS?

We write it into a text file and Hugo turns it into a page. With the right setup, even a non-technical person can do it through a friendly editor.

Is a static site really more secure?

Yes. With no database and no login, there's nowhere to attack the admin or the data.

Can a static site handle SEO?

SEO depends mainly on what you write and how you write it. Whether a CMS fills the template or it's a static site makes no difference, in the end it's all HTML with text, and the search engine sees the same thing. A static site just gets an extra boost from speed and clean code (and Hugo generates the sitemap automatically).

Can I edit the site without a developer?

Largely yes. You copy an existing file, rewrite the text in it, run a single command that has Hugo regenerate everything, and upload the new files to the server. You need basic computer skills, but nothing complicated. And if you want full comfort, we can set up an editor where you write comfortably and everything is processed and uploaded automatically.

About the author Tomáš Abaffy Founder of ABAFFY DESIGN, s.r.o.

Tomáš started building websites as a student in 2000. He later founded the digital agency ABAFFY DESIGN. Today he works on content creation, filming, directing and overall video production, writes articles and consults on using AI for content creation and business optimisation.

Got ideas?

What would you like to read about? Send us your topic ideas.

Write to us

More articles

Which websites will AI Overviews kill?Web development

Which websites will AI Overviews kill?

Google now answers for itself and almost no one clicks the links below the AI overview. Sites that were just link directories won't survive, but for those people trust, doors are opening.

Online tools Made in EuropeEU alternatives

Online tools Made in Europe

Europe has supposedly fallen behind, yet there are plenty of great European alternatives to American services. Let's look at search engines, email, hosting, AI, maps and analytics.

Why we don't use cookiesPrivacy

Why we don't use cookies

No tracking cookies and no annoying banner. We show how to measure traffic without cookies and compare tools like Plausible, Tinylytics and Fathom.