add charset
This commit is contained in:
parent
cb15162252
commit
3011f69b4f
@ -94,7 +94,7 @@ in {
|
||||
indexRendered = let
|
||||
path = getPath src "index.md";
|
||||
in
|
||||
if l.pathExists path
|
||||
if l.pathExists "${toString src}/index.md"
|
||||
then l.readFile (parseMarkdown "index.html" path)
|
||||
else null;
|
||||
postsRendered = let
|
||||
|
@ -31,7 +31,9 @@
|
||||
with html; ''
|
||||
<!DOCTYPE html>
|
||||
${html.html {lang = ctx.config.siteLang or "en";} [
|
||||
(head (stylesheets
|
||||
(head (
|
||||
[(meta {charset = "UTF-8";})]
|
||||
++ stylesheets
|
||||
++ [
|
||||
(title titleStr)
|
||||
(l.optionalString (description != null) (meta {
|
||||
|
Loading…
Reference in New Issue
Block a user