aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features/_features.html
blob: df3396704fb0cac7bc9edbacfb0fc4cdca04d646 (plain)
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
<#import "/_scaffold.html" as main>

<#macro featureSection>
	<div class="row">
		<#nested>
	</div>
</#macro>

<#macro history>
	<div class="row">
		<#nested>
	</div>
</#macro>

<#macro overview>
	<div class="row">
		<@main.h2 title="Overview" />
		<#nested>
	</div>
</#macro>

<#macro experimental>
	<div class="row">
		<@main.h2 title="Experimental" />

		Experimental because:
		<#nested>
	</div>
</#macro>

<#macro snippets name>
	<div class="row container-fluid">
		<div class="snippet-col first-snippet">
			<@main.h2 title="With Lombok" />

			<div class="snippet">${usages.pre(name)?no_esc}</div>
		</div>
		<div class="sep"></div>
		<div class="snippet-col second-snippet">
			<@main.h2 title="Vanilla Java" />

			<div class="snippet">${usages.post(name)?no_esc}</div>
		</div>
	</div>
</#macro>

<#macro confKeys>
	<div class="row">
		<@main.h2 title="Supported configuration keys:" />
		<dl>
			<#nested>
		</dl>
	</div>
</#macro>

<#macro smallPrint>
	<div class="row">
		<@main.h2 title="Small print" />

		<div class="smallprint">
			<#nested>
		</div>
	</div>
</#macro>

<#macro scaffold title logline load=[]>
	<@main.scaffold load title>
		<a class="tidelift-link" href="/tidelift">Get Lombok for Enterprise</a>
		<div class="page-header top5" id="featureContent">
			<div class="row text-center">
				<div class="header-group">
					<@main.h1 title="${title}" />

					<@main.h2 title="${logline?no_esc}" />
				</div>
			</div>
			<#nested>
		</div>
	</@main.scaffold>
</#macro>