mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-26 00:33:24 +00:00
Remove .html from link
This commit is contained in:
parent
182f90eceb
commit
2fccef81a9
|
@ -521,7 +521,7 @@ void generate_course_pill(std::string course_id,
|
||||||
course_id[4] = '-';
|
course_id[4] = '-';
|
||||||
const auto& title = get_course_title(course_id,qlog);
|
const auto& title = get_course_title(course_id,qlog);
|
||||||
tag(os,TAG::INLINE) << R"(<a class="course-pill" href=")" << course_id
|
tag(os,TAG::INLINE) << R"(<a class="course-pill" href=")" << course_id
|
||||||
<< R"(.html">)"
|
<< R"(">)"
|
||||||
<< course_id;
|
<< course_id;
|
||||||
if(!title.empty()) {
|
if(!title.empty()) {
|
||||||
os << " " << title;
|
os << " " << title;
|
||||||
|
|
Loading…
Reference in a new issue