77 lines
2.1 KiB
HTML
77 lines
2.1 KiB
HTML
{% assign featured_pages = site.pages
|
|
| where_exp: "page", "page.tags contains 'Featured'"
|
|
%}
|
|
{% assign recent_pages = site.pages
|
|
| where_exp: "page", "page.updated"
|
|
| sort: "updated", "first"
|
|
%}
|
|
{% include 2017/head.html %}
|
|
{% include 2017/top-nav.html page=page is_home=true noedit=true noback=true %}
|
|
|
|
{% if site.data.carbon.enabled %}
|
|
<div class='SideAd'>
|
|
<script async src='{{ site.data.carbon.src }}' id="_carbonads_js"></script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class='body-area -slim'>
|
|
<div class='site-header'>
|
|
<h1>
|
|
{{ site.data.content.home.title }}
|
|
</h1>
|
|
<p>
|
|
{{ site.data.content.home.tagline }}
|
|
</p>
|
|
|
|
{% include 2017/search-form.html live=true %}
|
|
|
|
{% if site.data.codesponsor.enabled %}
|
|
<div class='adbox'>
|
|
{% include 2017/code-sponsor.html noprelude=true %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class='pages-list'>
|
|
{% for page in featured_pages %}
|
|
{% include 2017/pages-list-item.html page=page class='item top-sheet' %}
|
|
{% endfor %}
|
|
|
|
<h2 class='category item' data-js-searchable-header>
|
|
<span>Recently updated</span>
|
|
</h2>
|
|
|
|
{% for page in recent_pages reversed %}
|
|
{% if forloop.index <= 18 %}
|
|
{% include 2017/pages-list-item.html page=page class='article item' %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
|
|
{% for category in site.data.categories.names %}
|
|
<h2 class='category item' id='{{ category | downcase | replace: " ", "-" }}' data-js-searchable-header>
|
|
<span>{{ category }}</span>
|
|
</h2>
|
|
|
|
{% for page in site.pages %}
|
|
{% if page.category == category %}
|
|
{% if page.title %}
|
|
{% include 2017/pages-list-item.html page=page class='article item' %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
<div class='message item missing-message'>
|
|
<h3>See something missing?</h3>
|
|
<p>
|
|
<a class='push-button' href='{{ site.github.repository_url }}/issues/new?title=Cheatsheet%20request:%20APP_NAME_HERE'>Request cheatsheet</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% include 2017/announcements-list.html %}
|
|
|
|
{% include 2017/foot.html %}
|