Skip to content

Commit f7a4abb

Browse files
committed
Normalise indentation
1 parent 500d8f0 commit f7a4abb

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

simple-template/index.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8">
5-
<title>Simple template</title>
6-
<script src="main.js" defer></script>
7-
</head>
8-
<body>
9-
<h1>Simple template</h1>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Simple template</title>
6+
<script src="main.js" defer></script>
7+
</head>
8+
<body>
9+
<h1>Simple template</h1>
1010

11-
<template id="my-paragraph">
12-
<style>
13-
p {
14-
color: white;
15-
background-color: #666;
16-
padding: 5px;
17-
}
18-
</style>
19-
<p><slot name="my-text">My default text</slot></p>
20-
</template>
11+
<template id="my-paragraph">
12+
<style>
13+
p {
14+
color: white;
15+
background-color: #666;
16+
padding: 5px;
17+
}
18+
</style>
19+
<p><slot name="my-text">My default text</slot></p>
20+
</template>
2121

22-
<my-paragraph>
23-
<span slot="my-text">Let's have some different text!</span>
24-
</my-paragraph>
22+
<my-paragraph>
23+
<span slot="my-text">Let's have some different text!</span>
24+
</my-paragraph>
2525

26-
<my-paragraph>
27-
<ul slot="my-text">
28-
<li>Let's have some different text!</li>
29-
<li>In a list!</li>
30-
</ul>
31-
</my-paragraph>
26+
<my-paragraph>
27+
<ul slot="my-text">
28+
<li>Let's have some different text!</li>
29+
<li>In a list!</li>
30+
</ul>
31+
</my-paragraph>
3232

33-
</body>
33+
</body>
3434
</html>

0 commit comments

Comments
 (0)