_includes/menu.html in jekyll-theme-peaceful-gates-1.1.0 vs _includes/menu.html in jekyll-theme-peaceful-gates-1.2.0
- old
+ new
@@ -1,23 +1,24 @@
<div class="menu-window" id="menu-window">
<nav class="menu" id="menu">
<div class="menu-container">
+
+ <!-- Header -->
<header class="menu-header">
<div class="menu-header-left">
<button class="icon-button show-on-mobile" id="close-menu">
<span class="fas fa-chevron-left"></span>
</button>
- <button class="icon-button" id="toggle-darkmode">
- <span class="fas fa-moon"></span>
- </button>
</div>
<div class="menu-header-right">
<a class="menu-title" href="{{ '/' | prepend: site.baseurl | prepend: site.url }}">
{{ site.title }}
</a>
</div>
</header>
+
+ <!-- Menu Links -->
<ul class="menu-links">
{%- for link in site.links -%}
<li>
{%- if link.direct -%}
<a href="{{ link.url }}">
@@ -29,17 +30,16 @@
</a>
{%- endif -%}
</li>
{%- endfor -%}
</ul>
- <footer class="footer">
- <p class="site-description">
- {{ site.description }}
- </p>
- {%- include social-bar.html -%}
- <p class="copyright">
- Copyright © {{ site.copyright }} {{ site.author }}
- </p>
- </footer>
+
+ <!-- Menu Controls -->
+ <div class="menu-controls">
+ <button class="icon-button" id="toggle-darkmode">
+ <span class="fas fa-moon"></span>
+ </button>
+ </div>
+
</div>
</nav>
</div>
\ No newline at end of file