A simple blog with Contao

by manu

I just moved back to Contao again for my site. The orgmode publishing worked great, but I wanted to have something more kind to use. It took me less than an hour to setup. Here are all the steps I've done so far:

  • composer create-project contao/managed-edition blog
  • add the DATABASE_URL to my local env file and
  • run contao:migrate to update the database
  • create a user with contao:user:create
  • add a new site and an index page in the backend
  • add a news archive called blog
  • create a new theme with a layout
  • create frontend modules for the title, news list and news reader
  • add them to the default page layout
  • include an external stylesheet for cssbed, a collection of classless themes
  • include my own tweaks in a custom stylesheet

Tbh, I didn't expect it to be so easy and straight forward! The CSS theme saved me a lot of time and Contao's builtin SCSS compiler made things alot faster!