Skip to content

Instantly share code, notes, and snippets.

@tan3
Created April 3, 2014 07:47
Show Gist options
  • Save tan3/9950011 to your computer and use it in GitHub Desktop.
Save tan3/9950011 to your computer and use it in GitHub Desktop.
TYPO3: page.ts
#----------------------------------------------------------------------
#
# Main template
#
#----------------------------------------------------------------------
page = PAGE
page {
shortcutIcon = fileadmin/templates/images/favicon.ico
#----------------------------------------------------------------------
# CSS
#----------------------------------------------------------------------
includeCSS {
file10base = fileadmin/templates/css/base.css
#ie7hacks = fileadmin/templates/yaml/core/iehacks.css
#ie7hacks.allWrap = <!--[if lte IE 7]>|<![endif]-->
}
#----------------------------------------------------------------------
# Javascript
#----------------------------------------------------------------------
includeJSlibs {
# html5 elements for ie<9
file0 = //html5shim.googlecode.com/svn/trunk/html5.js
file0.external = 1
file0.allWrap = <!--[if lt IE 9]>|<![endif]-->
# jquery
file1 = //ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
file1.external = 1
}
includeJS {
file1 = fileadmin/templates/js/site.js
}
#----------------------------------------------------------------------
# Meta
#----------------------------------------------------------------------
# mobile browser zeigen die seite voll an
meta.viewport = width=device-width, initial-scale=1.0
meta.description.field = description
meta.keywords.field = keywords
#----------------------------------------------------------------------
# Seitenkonfiguration
#----------------------------------------------------------------------
10 < lib.header
20 < lib.nav
30 < styles.content.get
40 < lib.footer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment