Skip to content

andreasisaak/contao-boilerplate

Repository files navigation

Contao Boilerplate - English

The Contao boilerplate helps you to set up a standardized configuration of your Contao installation within 5 minutes. Included are basic configuration, default folders, dev tools and css/js files.

Recommended order of CSS files

  • reset.css OR normalize.css
  • contao.css
  • forms.css
  • ! Any webfonts
  • style.css
  • ! Custom css files
  • print.css
  • media.css

Recommended extensions

Snippets

header_code

<meta name="apple-mobile-web-app-title" content="{{page::rootTitle}}" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="msapplication-TileImage" content="{{env::path}}files/standard/win-8.png" />
<meta name="msapplication-TileColor" content="#fff" />
<link rel="apple-touch-icon-precomposed" href="{{env::path}}files/standard/apple-touch-icon-precomposed.png" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{{env::path}}files/standard/favicon.ico" />
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="{{env::path}}files/standard/favicon.ico" />

Contao Boilerplate - Deutsch

Die Contao Boilerplate ermöglicht es innerhalb von 5 Minuten eine Contao-Installation mit einer standardisierten Konfiguration einzurichten. Enthalten sind Grundkonfigurationen, Ordnerstrukturen, Entwicklertools und CSS-/JS-Dateien.

Empfohlene Reihenfolge der CSS-Dateien

  • reset.css OR normalize.css
  • contao.css
  • forms.css
  • ! Webfonts
  • style.css
  • ! Eigene CSS-Dateien
  • print.css
  • media.css

Empfohlene Extensions

Snippets

header_code

<meta name="apple-mobile-web-app-title" content="{{page::rootTitle}}" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="msapplication-TileImage" content="{{env::path}}files/standard/win-8.png" />
<meta name="msapplication-TileColor" content="#fff" />
<link rel="apple-touch-icon-precomposed" href="{{env::path}}files/standard/apple-touch-icon-precomposed.png" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{{env::path}}files/standard/favicon.ico" />
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="{{env::path}}files/standard/favicon.ico" />