forked from RafaelFunchal/wordpress-security-checklist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.es.html
26 lines (23 loc) · 1.04 KB
/
index.es.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
layout: default
---
<div class="home">
{% assign posts=site.posts | where:"language", page.language %}
{% if posts == empty %}
<meta http-equiv="refresh" content="0; url={{ site.baseurl}}/{{ page.language }}/items">
<p>{{ site.t.[page.language].redirecting }} <a href="{{ site.baseurl}}/{{ page.language }}/items" title="Checklist">Checklist</a></p>
{% else %}
<h1 class="page-heading">{{ site.t.[page.language].blog }}</h1>
<ul class="post-list">
{% for post in posts %}
<li>
<span class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}" title="{{ post.title }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">{{ site.t.[page.language].subscribe }} <a href="{{ "/feed.xml" | prepend: site.baseurl }}" title="{{ site.t.[page.language].subscribe }} {{ site.t.[page.language].byrss }}">{{ site.t.[page.language].byrss }}</a></p>
{% endif %}
</div>