Open article links on new tab

The catalog now opens new articles on new tabs using the `target'
parameter for the `a' tag.
This commit is contained in:
luca0N! 2022-06-09 22:59:09 -03:00
parent 9eb5c21451
commit eb04e715d5
Signed by: luca0N
GPG Key ID: 2E7B4655CF16D7D6
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void build_blog_structure(std::string const &path, std::string const &prefix, st
blog_html_catalog += hr_date; blog_html_catalog += hr_date;
blog_html_catalog += "</b></span>\n"; blog_html_catalog += "</b></span>\n";
} }
blog_html_catalog += "\t<li><a href=\"./"; blog_html_catalog += "\t<li><a target=\"_blank\" href=\"./";
blog_html_catalog += m->path; blog_html_catalog += m->path;
blog_html_catalog += "\">"; blog_html_catalog += "\">";
blog_html_catalog += m->title; blog_html_catalog += m->title;