diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-25 12:38:52 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-25 12:38:52 +0200 |
commit | b2c34d03399978a3d0838ee7ed92c760e7908721 (patch) | |
tree | f82ffce6d1757466accb11e8e2ab23870303516c /plugins | |
parent | c794e32492362bdb6c5e01da12725e51053259c8 (diff) |
weblog: Added keywords and title to generated pages
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/weblog/weblog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/weblog/weblog.cpp b/plugins/weblog/weblog.cpp index 7ace0fb..07b6447 100644 --- a/plugins/weblog/weblog.cpp +++ b/plugins/weblog/weblog.cpp @@ -248,7 +248,11 @@ namespace { std::string s = ""s) : mGetRequestParam(GetRequestParam) , mContents(s) - , mHeader("<!DOCTYPE html><html><head><meta charset=\"utf-8\"/></head><body>") + , mHeader("<!DOCTYPE html><html><head>" + "<meta charset=\"utf-8\"/>" + "<title>" + GetRequestParam("WEBLOG_NAME") + "</title>" + "<meta name=\"keywords\" content=\"" + GetRequestParam("WEBLOG_KEYWORDS") + "\"/>" + "</head><body>") , mFooter("<br/><br/><br/><a href=\"" + mGetRequestParam("plugin_path") + "/impressum.html\">Impressum, Datenschutzerklärung</a></body></html>") { } |