mirror of https://github.com/metafizzy/isotope
Filter & sort magical layouts
http://isotope.metafizzy.co
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.5 KiB
81 lines
2.5 KiB
<!doctype html> |
|
<html lang="en"> |
|
<head> |
|
{% if page.category != 'homepage' %}{% assign root_path = '../' %}{% assign link_path = '..' %}{% else %}{% assign link_path = '.' %}{% endif %} |
|
<meta charset="utf-8" /> |
|
<title>{{ page.title }}{% if page.category != 'homepage' %} · {{ site.name }} {% if page.category == 'docs' %}Docs{% elsif page.category == 'demos' %}Demo{% endif %}{% endif %}</title> |
|
|
|
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--> |
|
|
|
<link rel="stylesheet" href="{{ root_path }}css/style.css" /> |
|
|
|
<!-- scripts at bottom of page --> |
|
|
|
</head> |
|
<body class="{{ page.category }} {{ page.body_class }}"> |
|
|
|
<nav id="site-nav"> |
|
<h1><a href="{{ root_path }}index.html">{{ site.name }}</a></h1> |
|
|
|
<h2>Docs</h2> |
|
|
|
<ul> |
|
{% for doc in site.categories.docs reversed %} |
|
{% if page.title == doc.title and page.category == 'docs' %} |
|
<li class="current"><a href="#content">{{ doc.title }}</a> |
|
<ul class="toc"> |
|
{% for item in page.toc %} |
|
<li><a href="#{{ item.anchor }}">{{ item.title }}</a></li> |
|
{% endfor %} |
|
</ul> |
|
</li> |
|
{% else %} |
|
<li><a href="{{ link_path }}{{ doc.url }}">{{ doc.title }}</a> |
|
{% endif %} |
|
{% endfor %} |
|
</ul> |
|
|
|
<h2>Demos</h2> |
|
|
|
<ul> |
|
{% for demo in site.categories.demos reversed %} |
|
{% if page.title == demo.title and page.category == 'demos' %} |
|
<li class="current"><a href="#content">{{ demo.title }}</a></li> |
|
{% else %} |
|
<li><a href="{{ link_path }}{{ demo.url }}">{{ demo.title }}</a> |
|
{% endif %} |
|
{% endfor %} |
|
</ul> |
|
|
|
<h2>Custom layout modes</h2> |
|
|
|
<ul> |
|
{% for demo in site.categories['custom-layout-modes'] reversed %} |
|
{% if page.title == demo.title and page.category == 'custom-layout-modes' %} |
|
<li class="current"><a href="#content">{{ demo.title }}</a></li> |
|
{% else %} |
|
<li><a href="{{ link_path }}{{ demo.url }}">{{ demo.title }}</a> |
|
{% endif %} |
|
{% endfor %} |
|
</ul> |
|
|
|
<h2><a href="{{ root_path }}tests/index.html">Tests</a></h2> |
|
|
|
</nav> <!-- #site-nav --> |
|
|
|
<section id="content"> |
|
{% if page.category != 'homepage' %} |
|
<h1>{{ page.title }}</h1> |
|
{% endif %} |
|
|
|
{{ content }} |
|
|
|
<footer> |
|
{{ site.name }} by <a href="http://desandro.com">David DeSandro</a> / <a href="http://metafizzy.co">Metafizzy</a> |
|
</footer> |
|
|
|
</section> <!-- #content --> |
|
|
|
|
|
</body> |
|
</html> |