Update document descriptions
This commit is contained in:
parent
7bc87c39c3
commit
9f8b264dcb
@ -125,6 +125,7 @@ public class MdBlog {
|
|||||||
|
|
||||||
HtmlDocument index = new HtmlDocument();
|
HtmlDocument index = new HtmlDocument();
|
||||||
index.setTitle("Index of " + blogName);
|
index.setTitle("Index of " + blogName);
|
||||||
|
index.setDescription("A blog hosted using MdBlog");
|
||||||
index.addStyleSheet("_/style/base.css");
|
index.addStyleSheet("_/style/base.css");
|
||||||
index.addStyleSheet("_/style/index.css");
|
index.addStyleSheet("_/style/index.css");
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ public class Post {
|
|||||||
HtmlDocument document = new HtmlDocument();
|
HtmlDocument document = new HtmlDocument();
|
||||||
document.getBodyNode().appendChild(RENDERER.render(MdParser.parse(spl[1])));
|
document.getBodyNode().appendChild(RENDERER.render(MdParser.parse(spl[1])));
|
||||||
document.setTitle(metadata.title());
|
document.setTitle(metadata.title());
|
||||||
document.setDescription(metadata.author());
|
document.setDescription(metadata.description());
|
||||||
document.addStyleSheet("/_/style/base.css");
|
document.addStyleSheet("/_/style/base.css");
|
||||||
document.addStyleSheet("/_/style/post.css");
|
document.addStyleSheet("/_/style/post.css");
|
||||||
this.content = document;
|
this.content = document;
|
||||||
|
Loading…
Reference in New Issue
Block a user