1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 08:14:58 +02:00
This commit is contained in:
krircc
2018-01-07 11:00:34 +08:00
parent d25fb2482c
commit a33bfa306c
19 changed files with 556 additions and 0 deletions

17
_layouts/default.liquid Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
{% include "head.liquid" %}
</head>
<body>
<header>
{% include "header.liquid" %}
</header>
<main>
{{ content }}
</main>
<footer>
{% include "footer.liquid" %}
</footer>
</body>
</html>

41
_layouts/docs.liquid Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
{% include "head.liquid" %}
</head>
<body>
<header>
{% include "header.liquid" %}
</header>
<main>
<section class="docs">
<div class="inner">
<aside>
<p>Basics</p>
<ul>
<li><a {%if route == "Basics-example"%}class="active"{%endif%} href="/docs/Basics-example.html">Basics Example</a></li>
</ul>
<p>Reference</p>
<ul>
<li><a {%if route == "Reference-example"%}class="active"{%endif%} href="/docs/Reference-example.html">Reference Example</a></li>
</ul>
<p>Advance</p>
<ul>
<li><a {%if route == "Advance-example"%}class="active"{%endif%} href="/docs/Advance-example.html">Advance Example</a></li>
</ul>
<p>Misc</p>
<ul>
<li><a {%if route == "Misc-example"%}class="active"{%endif%} href="/docs/Misc-example.html">Misc Example</a></li>
</ul>
</aside>
<main>
{{ content }}
</main>
</div>
</section>
</main>
<footer>
{% include "footer.liquid" %}
</footer>
</body>
</html>

17
_layouts/post.liquid Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
{% include "head.liquid" %}
</head>
<body>
<header>
{% include "header.liquid" %}
</header>
<main>
{{ content }}
</main>
<footer>
{% include "footer.liquid" %}
</footer>
</body>
</html>