add more meta descriptions
This commit is contained in:
parent
62dcbd7298
commit
e268954517
@ -140,6 +140,7 @@
|
|||||||
|
|
||||||
indexPage = mkPage {
|
indexPage = mkPage {
|
||||||
content = ctx.indexContent or postsSectionContent;
|
content = ctx.indexContent or postsSectionContent;
|
||||||
|
description = ctx.config.descriptionsById."index" or null;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
inherit ctx stylesheets mkPage stylesheet postsSectionContent;
|
inherit ctx stylesheets mkPage stylesheet postsSectionContent;
|
||||||
@ -151,10 +152,12 @@
|
|||||||
"posts"."index.html" = mkPage {
|
"posts"."index.html" = mkPage {
|
||||||
content = postsSectionContent;
|
content = postsSectionContent;
|
||||||
titleStr = "posts - ${ctx.config.title}";
|
titleStr = "posts - ${ctx.config.title}";
|
||||||
|
description = ctx.config.descriptionsById."posts" or null;
|
||||||
};
|
};
|
||||||
"404.html" = mkPage {
|
"404.html" = mkPage {
|
||||||
content = html.h1 {class = "nohashtag";} "404 - page not found";
|
content = html.h1 {class = "nohashtag";} "404 - page not found";
|
||||||
titleStr = "page not found - ${ctx.config.title}";
|
titleStr = "page not found - ${ctx.config.title}";
|
||||||
|
description = ctx.config.descriptionsById."404" or null;
|
||||||
};
|
};
|
||||||
"site.css" = stylesheet;
|
"site.css" = stylesheet;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user