adding event posts
This commit is contained in:
parent
6356d5f77f
commit
dc73c840e9
6 changed files with 41 additions and 13 deletions
|
|
@ -1,6 +1,16 @@
|
|||
<!-- BEGIN hero.html -->
|
||||
<div id="banner">
|
||||
|
||||
<div class="hero">
|
||||
<div id="poster" class="column">
|
||||
{% for event in events limit: 1 %}
|
||||
<img src="{{ event.image }}" />
|
||||
<h2>{{ event.title }}</h2>
|
||||
<h3>{{ event.start_date }} till {{ event.end_date }}</h3>
|
||||
<p>{{ event.description }}</p>
|
||||
<p>{{ event.category }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h1>{{ site.title }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue