Bug 1879146 - Move mozac.org docs back into the android-components folder. r=owlish...
[gecko.git] / mobile / android / android-components / docs / _layouts / home.html
blob1e5a379df4c2c63d02bdaf1353eb988b8f17ecb2
1 ---
2 layout: default
3 ---
5 <div class="home">
6 {%- if page.title -%}
7 <h1 class="page-heading">{{ page.title }}</h1>
8 {%- endif -%}
10 {{ content }}
12 {%- if site.posts.size > 0 -%}
13 <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14 <ul class="post-list">
15 {%- for post in site.posts -%}
16 <li>
17 {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
18 <span class="post-meta">{{ post.date | date: date_format }}</span>
19 <h3>
20 {% if post.external_url %}
21 <a class="post-link" href="{{ post.external_url }}">{{ post.title | escape }}</a>
22 {% else %}
23 <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
24 {% endif %}
25 </h3>
26 {%- if site.show_excerpts -%}
27 {{ post.excerpt }}
28 {%- endif -%}
29 </li>
30 {%- endfor -%}
31 </ul>
33 <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
34 {%- endif -%}
36 </div>