File: prism-typoscript.html

package info (click to toggle)
node-prismjs 1.30.0%2Bdfsg%2B~1.26.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,220 kB
  • sloc: javascript: 27,628; makefile: 9; sh: 7; awk: 4
file content (95 lines) | stat: -rw-r--r-- 2,219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<h2>Typical TypoScript Setup File</h2>
<pre><code># import other files
@import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript'
@import 'EXT:sitepackage/Configuration/TypoScript/Helper/DynamicContent.typoscript'

page = PAGE
page {
	typeNum = 0

	// setup templates
	10 = FLUIDTEMPLATE
	10 {
		templateName = TEXT
		templateName.stdWrap.cObject = CASE
		templateName.stdWrap.cObject {
			key.data = pagelayout

			pagets__sitepackage_default = TEXT
			pagets__sitepackage_default.value = Default

			pagets__sitepackage_alternate = TEXT
			pagets__sitepackage_alternate.value = Alternative

			default = TEXT
			default.value = Default
		}
		
		templateRootPaths {
			0 = EXT:sitepackage/Resources/Private/Templates/Page/
			1 = {$sitepackage.fluidtemplate.templateRootPath}
		}
		
		partialRootPaths {
			0 = EXT:sitepackage/Resources/Private/Partials/Page/
			1 = {$sitepackage.fluidtemplate.partialRootPath}
		}
		
		layoutRootPaths {
			0 = EXT:sitepackage/Resources/Private/Layouts/Page/
			1 = {$sitepackage.fluidtemplate.layoutRootPath}
		}

		dataProcessing {
			10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
			10 {
				levels = 1
				includeSpacer = 1
				as = mainnavigation
			}
		}
	}

	// include css into head
	includeCSS {
		bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css
		bootstrap.external = 1
		website = EXT:sitepackage/Resources/Public/Css/styles.css
	}

	// include js into footer
	includeJSFooter {
		jquery = https://code.jquery.com/jquery-3.2.1.slim.min.js
		jquery.external = 1
		bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js
		bootstrap.external = 1
		website = EXT:sitepackage/Resources/Public/JavaScript/scripts.js
	}
}

// global site configuration
config {
	absRefPrefix = auto
	cache_period = 86400
	debug = 0
	disablePrefixComment = 1
	doctype = html5
	extTarget =
	index_enable = 1
	index_externals = 1
	index_metatags = 1
	inlineStyle2TempFile = 1
	intTarget =
	linkVars = L
	metaCharset = utf-8
	no_cache = 0
	pageTitleFirst = 1
	prefixLocalAnchors = all
	removeDefaultJS = 0
	sendCacheHeaders = 1
	compressCss = 0
	compressJs = 0
	concatenateCss = 0
	concatenateJs = 0
}
</code></pre>