|
24 | 24 | <a class="nav-link dropdown-toggle" target="_self" href="javascript:;" role="button"
|
25 | 25 | data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
26 | 26 | <%- each.icon ? '<i class="' + each.icon + '"></i>' : '' %>
|
27 |
| - <%- text %> |
| 27 | + <span><%- text %></span> |
28 | 28 | </a>
|
29 | 29 | <div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
30 | 30 | <% for(const subEach of each.submenu || []) { %>
|
|
35 | 35 | } %>
|
36 | 36 | <a class="dropdown-item" href="<%= url_for(subEach.link) %>">
|
37 | 37 | <%- subEach.icon ? '<i class="' + subEach.icon + '"></i>' : '' %>
|
38 |
| - <%- subText %> |
| 38 | + <span><%- subText %></span> |
39 | 39 | </a>
|
40 | 40 | <% } %>
|
41 | 41 | </div>
|
|
44 | 44 | <li class="nav-item">
|
45 | 45 | <a class="nav-link" href="<%= url_for(each.link) %>">
|
46 | 46 | <%- each.icon ? '<i class="' + each.icon + '"></i>' : '' %>
|
47 |
| - <%- text %> |
| 47 | + <span><%- text %></span> |
48 | 48 | </a>
|
49 | 49 | </li>
|
50 | 50 | <% } %>
|
51 | 51 | <% } %>
|
52 | 52 | <% if(theme.search.enable) { %>
|
53 | 53 | <li class="nav-item" id="search-btn">
|
54 | 54 | <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
|
55 |
| - <i class="iconfont icon-search"></i> |
| 55 | + <i class="iconfont icon-search"></i> |
56 | 56 | </a>
|
57 | 57 | </li>
|
58 | 58 | <% import_js(theme.static_prefix.internal_js, 'local-search.js') %>
|
59 | 59 | <% } %>
|
60 | 60 | <% if(theme.dark_mode && theme.dark_mode.enable) { %>
|
61 | 61 | <li class="nav-item" id="color-toggle-btn">
|
62 |
| - <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"> <i |
63 |
| - class="iconfont icon-dark" id="color-toggle-icon"></i> </a> |
| 62 | + <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"> |
| 63 | + <i class="iconfont icon-dark" id="color-toggle-icon"></i> |
| 64 | + </a> |
64 | 65 | </li>
|
65 | 66 | <% } %>
|
66 | 67 | </ul>
|
|
0 commit comments