Skip to content

Commit 52e3957

Browse files
committed
[boot] Add Meta header in HTML for improved experience on mobile devices
Signed-off-by: Christian I. Nilsson <nikize@gmail.com>
1 parent 9727902 commit 52e3957

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,5 @@ $(OUTPUTS_BIN_OTHER) : output/% : $(SRCDIR)/bin-%
128128
$(INDEX_DYNAMIC) : output/% : $(ALL_OUTPUTS)
129129
( cd $(dir $@) ; \
130130
tree -H "." -C -T "iPXE files" -s -D --filesfirst \
131-
-I index.html -o index.html )
131+
-I index.html -o index.html ; \
132+
sed -i 's/<head>/<head>\n <meta name="viewport" content="width=device-width, initial-scale=1">/' index.html )

0 commit comments

Comments
 (0)