Skip to content

Commit 7b426ab

Browse files
committed
Separate out into include HTML.
1 parent 266a00f commit 7b426ab

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

header.html

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<div class="banner">
2+
<img src="assets/banner.jpg" alt="Conference Template Banner">
3+
<div class="top-left">
4+
<span class="title1">ML</span><span class="title2">for</span> <span class="year">Quantum Matter</span>
5+
</div>
6+
<div class="bottom-right">
7+
Friday 3rd May 2024 <br> Imperial College London, White City, London, UK.
8+
</div>
9+
</div>
10+
11+
<table class="navigation">
12+
<tr>
13+
<td class="navigation">
14+
<a class="current" title="Conference Home Page" href=".">Home</a>
15+
</td>
16+
<td class="navigation">
17+
<a title="Register for the Conference" href="registration">Registration</a>
18+
</td>
19+
<td class="navigation">
20+
<a title="Conference Program" href="program">Program</a>
21+
</td>
22+
<td class="navigation">
23+
<a title="Directions to the Conference" href="directions">Directions</a>
24+
</td>
25+
<td class="navigation">
26+
<a title="Conference Flyer" href="flyer">Flyer</a>
27+
</td>
28+
</tr>
29+
</table>
30+

index.html

+2-29
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,10 @@
1414

1515
<body>
1616

17-
<div class="banner">
18-
<img src="assets/banner.jpg" alt="Conference Template Banner">
19-
<div class="top-left">
20-
<span class="title1">ML</span><span class="title2">for</span> <span class="year">Quantum Matter</span>
21-
</div>
22-
<div class="bottom-right">
23-
Friday 3rd May 2024 <br> Imperial College London, White City, London, UK.
24-
</div>
25-
</div>
17+
<div w3-include-html="header.html"></div>
2618

27-
<table class="navigation">
28-
<tr>
29-
<td class="navigation">
30-
<a class="current" title="Conference Home Page" href=".">Home</a>
31-
</td>
32-
<td class="navigation">
33-
<a title="Register for the Conference" href="registration">Registration</a>
34-
</td>
35-
<td class="navigation">
36-
<a title="Conference Program" href="program">Program</a>
37-
</td>
38-
<td class="navigation">
39-
<a title="Directions to the Conference" href="directions">Directions</a>
40-
</td>
41-
<td class="navigation">
42-
<a title="Conference Flyer" href="flyer">Flyer</a>
43-
</td>
44-
</tr>
45-
</table>
4619

47-
<h2>What is This Website?</h2>
20+
<h2>What is This Website?</h2>
4821
<p>
4922
This website is a template that you could use for a (small) academic conference.
5023
It&rsquo;s got a page for registration, where you can embed a Google Form or some other way for participants to register.

0 commit comments

Comments
 (0)