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