Skip to content

Commit 3219c54

Browse files
committed
Fixed build and added missing icon
1 parent 30417f4 commit 3219c54

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
# Move pages into root of build folder
3737
- name: Move pages
3838
run: |
39-
mv dist/4XX/*.html ./
40-
mv dist/5XX/*.html ./
39+
mv dist/4XX/*.html dist/
40+
mv dist/5XX/*.html dist/
4141
4242
# Deploy to GitHub Pages
4343
- name: Deploy to GitHub Pages

src/icons/http-icon.pug

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include ./composed/http-402-icon
44
include ./composed/http-403-icon
55
include ./composed/http-404-icon
66
include ./composed/http-405-icon
7+
include ./composed/http-418-icon
78
include ./composed/http-generic-icon
89

910
mixin HTTPIcon(code)
@@ -20,5 +21,7 @@ mixin HTTPIcon(code)
2021
+HTTP404Icon()
2122
else if(code == 405)
2223
+HTTP405Icon()
24+
else if(code == 418)
25+
+HTTP418Icon()
2326
else
2427
+HTTPGenericIcon()

0 commit comments

Comments
 (0)