diff --git a/src/app.cpp b/src/app.cpp index 959b6a6..c21089b 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -67,7 +67,12 @@ App::~App() { server_.disconnect(this); } +void App::setMetaTags() { + addMetaHeader("keywords", "chat, single chat, images, no registration, anonymous"); +} + void App::initApp() { + setMetaTags(); setTitle("YP Direct Chat"); setCssTheme(""); useStyleSheet("style.css"); diff --git a/src/app.h b/src/app.h index 0f48c26..9972fdc 100644 --- a/src/app.h +++ b/src/app.h @@ -90,6 +90,7 @@ private: int messageCursorPosition_{-1}; std::unique_ptr messageReceived_; Search searchFields; + void setMetaTags(); void initApp(); void reSetUser(); Wt::WVBoxLayout *createVerticalLayout();