new frontpage
This commit is contained in:
parent
ac6d3b372c
commit
db86e11963
3 changed files with 39 additions and 10 deletions
13
index.html
13
index.html
|
|
@ -143,7 +143,11 @@ apps:
|
|||
{% if item.summary %}
|
||||
<h2 style="text-align: left;">{{ item.summary }}</h2>
|
||||
{% endif %}
|
||||
<p>
|
||||
|
||||
<p>
|
||||
{{ item.content }}
|
||||
</p>
|
||||
<p class="date">
|
||||
{% assign d = item.published | date: "%-d" %}
|
||||
{% case d %}
|
||||
{% when '1' or '21' or '31' %}{{ d }}:st
|
||||
|
|
@ -165,17 +169,14 @@ apps:
|
|||
{% endcase %}
|
||||
{{ item.published | date: "%Y" }} - {{ item.published | date: "%R" }}
|
||||
</p>
|
||||
<p>
|
||||
{{ item.content }}
|
||||
</p>
|
||||
{% for enclosure in item.link %}
|
||||
{% if enclosure.type == "image/jpeg" %}
|
||||
<img src="{{ enclosure.href }}" height="300px" />
|
||||
<img src="{{ enclosure.href }}" />
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<hr />
|
||||
|
||||
<hr />
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue