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:
parent
9eb5c21451
commit
eb04e715d5
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue