awesome-wm-widgets/_layouts/page.html

150 lines
5.2 KiB
HTML

---
---
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
{% include yandex-metrica.html %}
<header>
<div class="topnav">
<div class="container">
<div class="site-header">
<div id="header" class="header center white-text">
<a href="{{ site.url | append: site.baseurl}}/"><span
style="font-family: awesomewm-font; font-weight: 100;">awesome wm</span></a>
</div>
<div id="description" class="header center white-text">
Widgets for Awesome Window Manager
</div>
</div>
<div id="particles-js"></div>
<a href="#" data-target="slide-out" class="top-nav sidenav-trigger full hide-on-large-only"><i class="fa fa-bars"></i></a>
</div>
</div>
</header>
<main>
{% include github-corner.html %}
<ul id="slide-out" class="sidenav sidenav-fixed" style="transform: translateX(0px);">
<ul class="collapsible collapsible-accordion">
<li class="tab col s2"><a class="tab white-text" href="#tabMain">Awesome WM Widgets</a></li>
<li><div class="divider"></div></li>
<li>
<a class="collapsible-header">Widgets</a>
<div class="collapsible-body">
<ul>
{% for widget in site.widgets %}
<li class="tab col s2 sidenav-close">
<a class="tab" href="#tab{{ widget.title | replace: ' ', '_' }}">
{{ widget.title | replace: 'Cpu', 'CPU' | replace: 'Ram', 'RAM' | replace: 'Fs', 'FS' | replace: 'Todo', 'ToDo'}}
</a>
</li>
{% endfor %}
</ul>
</div>
</li>
<li>
<a class="collapsible-header">Prompts</a>
<div class="collapsible-body">
<ul>
{% for prompt in site.prompts %}
<li class="tab col s2 sidenav-close">
<a class="tab" href="#tab{{ prompt.title | replace: ' ', '_' }}">
{{ prompt.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
</li>
<li>
<a class="collapsible-header">Tips and tricks</a>
<div class="collapsible-body">
<ul>
{% for tip in site.tips %}
<li class="tab col s2 sidenav-close">
<a class="tab" href="#tab{{ tip.title | replace: ' ', '_' }}">
{{ tip.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
</li>
<li>
<a class="collapsible-header">Snippets</a>
<div class="collapsible-body">
<ul>
{% for snippet in site.snippets %}
<li class="tab col s2 sidenav-close">
<a class="tab" href="#tab{{ snippet.title | replace: ' ', '_' }}">
{{ snippet.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
</li>
</ul>
<li><div class="divider"></div></li>
<li><a class="subheader white-text">Links</a></li>
<div class="sidenav-footer">
{% include links.html %}
</div>
</ul>
<div class="container">
<div class="section">
<div class="row">
<div id="tabMain" class="widget col s12 hide">
{{site.main[0].content}}
</div>
{% for widget in site.widgets %}
<div id="tab{{ widget.title | replace: ' ', '_' }}" class="widget col s12 hide">{{
widget.content }}
</div>
{% endfor %}
{% for prompt in site.prompts %}
<div id="tab{{ prompt.title | replace: ' ', '_' }}" class="widget col s12 hide">{{
prompt.content }}
</div>
{% endfor %}
{% for tip in site.tips %}
<div id="tab{{ tip.title | replace: ' ', '_' }}" class="widget col s12 hide">{{
tip.content }}
</div>
{% endfor %}
{% for snippet in site.snippets %}
<div id="tab{{ snippet.title | replace: ' ', '_' }}" class="widget col s12 hide">{{
snippet.content }}
</div>
{% endfor %}
</div>
</div>
</div>
</main>
{% include footer.html %}
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>