The Emergency Theme

This is a "dynamic" fork of the static Emergency Site by Max Böck that is available on GitHub. The original template has been created as a static emergency website for extreme conditions like high traffic and low bandwidth. The technology stack is the static website generator Eleventy and the Netlify CMS. The download below contains the forked theme, the Typemill CMS and some demo-content.

I really like that project very much and I completely recommend to use that stack whenever it is possible or whenever you expect high traffic peaks. Static websites have always been the best solution in situations like that.

However, some people or some small organizations might get confused about that new technology stack. Sometimes, high traffic is not super relevant. And sometimes people simply look for a super minimalistic and lightweight website that they can simply download, upload, edit and run.

For those situations I created this fork. Typemill is easy to use and pretty lightweight, it does not need a database and the zipped version of the CMS is less than floppy-sized (< 1,44 MB). You can simply download the whole website including the cms, the theme and the demo-content, edit and configure it and run it on your own server.

The size of the website is of course the same as the original emergency site (about 14kb), so bandwidth is no problem. The performance of Typemill is also quite well, but it cannot compete with the static solution of Max Böck of course.

You can setup an emergency website in some simple steps:

1. Download

Download the zip file on the theme website of typemill and unzip it. The zip-file contains the cms (typemill), the emergency-theme and some example-content.

2. Upload

Upload the whole "typemill"-folder to your webspace. The webspace should have PHP7 installed and run with an apache-server.

3. Set Folder-Permissions

The following folders should have writing permissions (you can set it with your ftp-software):

  • /cache
  • /content
  • /media
  • /settings

4. Configure .htaccess

In the root-folder of typemill you will find a .htaccess-file. If you use a https connection (and we strongy recommend), then look for this lines:

# If http, redirect to https
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

And uncomment them to:

# If http, redirect to https
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

If you want to get rid of the www in your address and redirect everything to the non-www-version, then look for this lines:

# If www, redirect to non-wwww on apache servers
# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

And uncomment them to:

# If www, redirect to non-wwww on apache servers
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

5. Setup your website

Everything done?

Great! Then simply visit your url. You will be redirected to the setup-screen under /setup where you can create an admin-user. After that simply look around the admin dashboard and start editing...


Found a bug? Or do you want to improve this theme? You can find the repository on . Create a pull request or open a new issue if you found a bug.

Updates for this them

Version 1.2.0

  • Compatible with Typemill Version 1.5.2.
  • Switched to new logic for meta-tags added via asset-function.
  • Added a pagination for blogposts
  • Some minor changes

Version 1.1.0

  • Compatible with typemill 1.4.0
  • Deleted tag for base url
  • Fixed wrong canonical tag
  • Fixed wrong favicon links
  • Optimized meta tags in head
  • Fixed listing of pages and posts

How to install

  • Install the Typemill CMS
  • Download this theme.
  • Unzip the theme.
  • Upload the theme to the theme-folder of your Typemill installation.
  • Login to your Typemill installation.
  • Go to settings -> themes.
  • Activate and configure the theme.