diff options
Diffstat (limited to 'src/site.cc')
| -rw-r--r-- | src/site.cc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/site.cc b/src/site.cc index e1111de..f8d8116 100644 --- a/src/site.cc +++ b/src/site.cc @@ -394,12 +394,17 @@ private: auto* nav = body->add_tag("div")->attr("id", "header")->add_tag("ul"); { auto* li = nav->add_tag("li"); - li->add_tag("a", "D") + li->add_tag("a") ->attr("id", "download") ->attr("download", "") - ->attr("title", "Download [Shift-D]"); - li->add_tag("a", "P")->attr("id", "location") - ->attr("title", "Show location"); + ->attr("title", "Download [Shift-D]") + ->add_tag("img") + ->attr("src", "../img/download.svg"); + li->add_tag("a") + ->attr("id", "location") + ->attr("title", "Show location") + ->add_tag("img") + ->attr("src", "../img/location.svg"); } nav->add_tag("li")->add_tag("a", "<") ->attr("id", "previous") |
