Style things a little

This commit is contained in:
2026-07-20 11:48:27 +10:00
parent e1751a3ece
commit c3e39d5714
7 changed files with 95 additions and 27 deletions

View File

@@ -29,11 +29,11 @@ std::string Post::genHtml() const {
ts = *localtime(&time);
strftime(buf, sizeof(buf), "%a %Y-%m-%d %H:%M:%S %Z", &ts);
ss << "<p><i>" << user << "</i> posted this at " << buf << "</p>\n";
ss << "<p class='postinfo'><i>" << user << "</i> posted this at " << buf << "</p>\n";
ss << content;
ss << "<p>" << likes << " likes</p>";
ss << "<p class='postinfo'>" << likes << " likes</p>";
return ss.str();