diff --git a/src/generators/html.cpp b/src/generators/html.cpp index 050ed79..1bc30bd 100644 --- a/src/generators/html.cpp +++ b/src/generators/html.cpp @@ -51,6 +51,9 @@ void write_html(ostream &out, const vector &entries) FediBlock – Blocklist +

Blocklist

@@ -59,8 +62,10 @@ void write_html(ostream &out, const vector &entries) for (const auto &entry : entries) { out << "\n"; - out << "
\n"; + out << "
\n"; out << " " << entry.instance << "\n"; + out << R"( Hyperlink to this entry)" << '\n'; out << "

" << cgi::text2html(entry.description) << "

\n"; out << "

Tags: "; for (const auto &tag : entry.tags) @@ -94,6 +99,24 @@ void write_html(ostream &out, const vector &entries) Sourcecode licensed under the AGPL-3.0-only.

+ + )"; diff --git a/src/generators/rss.cpp b/src/generators/rss.cpp index 9a9c80c..1968245 100644 --- a/src/generators/rss.cpp +++ b/src/generators/rss.cpp @@ -149,6 +149,7 @@ void write_rss(ostream &out, const vector &entries, "FediBlock: " + entry.report_time + " " + entry.instance); write_line(out, 6, "pubDate", time::to_string(entry.report_time, rss_time_format)); + write_line(out, 6, "link", baseurl + '#' += entry.instance); string item_description{"

" + cgi::text2html(entry.description) + "

"};