From 3ee59ca3730aaaacb66ac26fed9fd1d72d033ae4 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 1 May 2020 14:36:51 +0200 Subject: Added style sheet --- plugins/weblog/weblog.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/weblog/weblog.cpp b/plugins/weblog/weblog.cpp index 20c70b7..4ed468e 100644 --- a/plugins/weblog/weblog.cpp +++ b/plugins/weblog/weblog.cpp @@ -250,10 +250,13 @@ namespace { , mContents(s) , mHeader("" "" + "" "" + GetRequestParam("WEBLOG_NAME") + "" "" - "") - , mFooter("


Impressum, Datenschutzerklärung") + "" + "" + "
") + , mFooter("


") { } @@ -286,7 +289,8 @@ namespace { for (const auto& article: list) { std::string linkstart{""}; std::string linkend{""}; - htmlPage += "

"s + linkstart + article.subject + linkend + "

"s + article.date + "
"s; + htmlPage += "

"s + linkstart + article.subject + linkend + "

"s; + htmlPage += "
" + article.date + "
"s; auto sv{shortVersion(article.path)}; if (sv.size()) { @@ -327,7 +331,9 @@ namespace { if (it != metaData.end() && it->second == "text/plain") data = verbatimText(data); - HtmlPage htmlPage{GetRequestParam, "

"s + metaData.at("Subject") + "

"s + metaData.at("Date") + "

"s + data}; + HtmlPage htmlPage{GetRequestParam, "

"s + metaData.at("Subject") + "

" + "
" + metaData.at("Date") + "
" + "

"s + data}; return htmlPage; } catch (const std::exception& ex) { -- cgit v1.2.3