1+ < nav aria-label ="Auxiliary " class ="aux-nav ">
2+ {%- comment -%} from: https://github.com/mmcesim/mmcesim.org/blob/master/_includes/components/aux_nav.html {%- endcomment -%}
3+ < svg xmlns ="http://www.w3.org/2000/svg " style ="display: none; ">
4+ < symbol id ="svg-sun " viewBox ="0 0 24 24 ">
5+ < title > Light mode</ title >
6+ < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor "
7+ stroke-width ="1.5 " stroke-linecap ="round " stroke-linejoin ="round " class ="feather-sun ">
8+ < circle cx ="12 " cy ="12 " r ="5 "> </ circle >
9+ < line x1 ="12 " y1 ="1 " x2 ="12 " y2 ="3 "> </ line >
10+ < line x1 ="12 " y1 ="21 " x2 ="12 " y2 ="23 "> </ line >
11+ < line x1 ="4.22 " y1 ="4.22 " x2 ="5.64 " y2 ="5.64 "> </ line >
12+ < line x1 ="18.36 " y1 ="18.36 " x2 ="19.78 " y2 ="19.78 "> </ line >
13+ < line x1 ="1 " y1 ="12 " x2 ="3 " y2 ="12 "> </ line >
14+ < line x1 ="21 " y1 ="12 " x2 ="23 " y2 ="12 "> </ line >
15+ < line x1 ="4.22 " y1 ="19.78 " x2 ="5.64 " y2 ="18.36 "> </ line >
16+ < line x1 ="18.36 " y1 ="5.64 " x2 ="19.78 " y2 ="4.22 "> </ line >
17+ </ svg >
18+ </ symbol >
19+ < symbol id ="svg-moon " viewBox ="0 0 24 24 ">
20+ < title > Dark mode</ title >
21+ < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor "
22+ stroke-width ="1.5 " stroke-linecap ="round " stroke-linejoin ="round " class ="icon-tabler-moon ">
23+ < path stroke ="none " d ="M0 0h24v24H0z " fill ="none " />
24+ < path d ="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z " />
25+ </ svg >
26+ </ symbol >
27+ </ svg >
28+ < ul class ="aux-nav-list ">
29+ < li class ="aux-nav-list-item ">
30+ < span id ="theme-toggle " class ="site-button "> < svg width ='18px ' height ='18px '> < use href ="#svg-sun "> </ use > </ svg > </ span >
31+ </ li >
32+ {% for link in site.aux_links %}
33+ < li class ="aux-nav-list-item ">
34+ < a href ="{{ link.last }} " class ="site-button "
35+ {% if site.aux_links_new_tab %}
36+ target ="_blank " rel ="noopener noreferrer "
37+ {% endif %}
38+ >
39+ {{ link.first }}
40+ </ a >
41+ </ li >
42+ {% endfor %}
43+ </ ul >
44+ </ nav >
0 commit comments