Add meta tag to make pages look better on browsers
This commit is contained in:
parent
9526a0df1b
commit
f1d727b87c
|
@ -14,7 +14,8 @@ void serve(const httplib::Request& req, httplib::Response& res, const Config& co
|
|||
Element("head", {
|
||||
Element("meta", {{"charset", "utf-8"}}, {}),
|
||||
Element("title", {std::move(title)}),
|
||||
Element("link", {{"rel", "stylesheet"}, {"href", std::move(css_url)}}, {})
|
||||
Element("link", {{"rel", "stylesheet"}, {"href", std::move(css_url)}}, {}),
|
||||
Element("meta", {{"name", "viewport"}, {"content", "width=device-width,initial-scale=1"}}, {})
|
||||
}),
|
||||
std::move(element)
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue