Update document descriptions

This commit is contained in:
MrLetsplay 2024-02-15 22:30:07 +01:00
parent 7bc87c39c3
commit 9f8b264dcb
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
2 changed files with 2 additions and 1 deletions

View File

@ -125,6 +125,7 @@ public class MdBlog {
HtmlDocument index = new HtmlDocument();
index.setTitle("Index of " + blogName);
index.setDescription("A blog hosted using MdBlog");
index.addStyleSheet("_/style/base.css");
index.addStyleSheet("_/style/index.css");

View File

@ -64,7 +64,7 @@ public class Post {
HtmlDocument document = new HtmlDocument();
document.getBodyNode().appendChild(RENDERER.render(MdParser.parse(spl[1])));
document.setTitle(metadata.title());
document.setDescription(metadata.author());
document.setDescription(metadata.description());
document.addStyleSheet("/_/style/base.css");
document.addStyleSheet("/_/style/post.css");
this.content = document;