Skip to content

Commit 75fa4ba

Browse files
Merge pull request #257 from haskellfoundation/html-refactor
HTML refactor
2 parents 7c8b01e + e91b66d commit 75fa4ba

File tree

37 files changed

+1152
-1868
lines changed

37 files changed

+1152
-1868
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ dist-newstyle/
2424

2525
### General ###
2626
*~
27+
.DS_Store

404.html

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,6 @@
11
<div class="max-w-screen-xl mx-auto py-16 md:py-24">
2-
<div class="sm:px-6 lg:px-16">
3-
<div class="relative">
4-
<div class="absolute top-0 left-0 border-t border-l border-purple-50 h-10 md:h-20 w-10 md:w-20">
5-
<div
6-
class="absolute top-1 md:top-2 left-1 md:left-2 border-t border-l border-purple-100 h-10 md:h-20 w-10 md:w-20">
7-
<div
8-
class="absolute top-1 md:top-2 left-1 md:left-2 border-t border-l border-purple-200 h-10 md:h-20 w-10 md:w-20">
9-
<div
10-
class="absolute top-1 md:top-2 left-1 md:left-2 border-t border-l border-purple-300 h-10 md:h-20 w-10 md:w-20">
11-
<div
12-
class="absolute top-1 md:top-2 left-1 md:left-2 border-t border-l border-purple-400 h-10 md:h-20 w-10 md:w-20">
13-
<div
14-
class="absolute top-1 md:top-2 left-1 md:left-2 border-t border-l border-purple-500 h-10 md:h-20 w-10 md:w-20">
15-
</div>
16-
</div>
17-
</div>
18-
</div>
19-
</div>
20-
</div>
21-
<div class="absolute top-0 right-0 border-t border-r border-purple-50 h-10 md:h-20 w-10 md:w-20">
22-
<div
23-
class="absolute top-1 md:top-2 right-1 md:right-2 border-t border-r border-purple-100 h-10 md:h-20 w-10 md:w-20">
24-
<div
25-
class="absolute top-1 md:top-2 right-1 md:right-2 border-t border-r border-purple-200 h-10 md:h-20 w-10 md:w-20">
26-
<div
27-
class="absolute top-1 md:top-2 right-1 md:right-2 border-t border-r border-purple-300 h-10 md:h-20 w-10 md:w-20">
28-
<div
29-
class="absolute top-1 md:top-2 right-1 md:right-2 border-t border-r border-purple-400 h-10 md:h-20 w-10 md:w-20">
30-
<div
31-
class="absolute top-1 md:top-2 right-1 md:right-2 border-t border-r border-purple-500 h-10 md:h-20 w-10 md:w-20">
32-
</div>
33-
</div>
34-
</div>
35-
</div>
36-
</div>
37-
</div>
38-
</div>
39-
40-
</div>
2+
$partial("templates/corners.html")$
413
<div class="text-center pt-12 md:pt-20 px-12 sm:px-16 md:px-24 lg:px-36 ">
424
<h1 class="text-2xl-5xl">Unable to find that page!</h1>
43-
445
</div>
45-
466
</div>

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@ To build the project:
2525
stack build
2626
```
2727

28-
Once the project has built (which can take a while due to the dependencies for Hakyll), to generate the site use:
28+
Once the project has built (which can take a while due to the dependencies for Hakyll), generate the site with:
2929

3030
```bash
3131
stack exec -- site build
3232
```
3333

34+
and for development use:
35+
36+
```bash
37+
stack run -- site watch
38+
```
39+
3440
The site will be build in the `_site` directory, and you can open the files in your browser of choice. Due to a Hakyll issue, some sponsor logos will not show up correctly. This is expected behavior, and should be fine for the deployed site.
3541

3642
For further information, please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) at the root of this project.

0 commit comments

Comments
 (0)