Browse Source

updated order of exh, and fixed naming convention for kat austen piece

2025
Cailean Finn 5 days ago
parent
commit
e88fe4d66f
  1. 4
      .gitignore
  2. 4
      app.py
  3. 4
      templates/article.html
  4. 6
      templates/list-exhibitions.html

4
.gitignore

@ -1,4 +1,6 @@
.env
/node_modules/
package-lock.json
beta-favicon.psd
beta-favicon.psd
public/images/locations.zip
public/images/support.zip

4
app.py

@ -39,8 +39,8 @@ def events():
@app.route('/exhibitions')
def exhibitions():
exhibition_info = contentful_service.get_exhibition_list_info()
#print(exhibition_info)
exhibition_info = contentful_service.get_exhibition_list_info()[::-1]
print(exhibition_info)
return render_template('list.html', title='Exhibitions', exhibition_info=exhibition_info)
@app.route('/exhibitions/<ex_type>')

4
templates/article.html

@ -10,8 +10,8 @@
<div id="article-container">
<div id="article-text">
<div id="article-title">
{% if article.title == 'This Is How I Roll' %}
<div>This Is How 👁️ Roll</div>
{% if article.title == 'Not Breaking This Wave Drowns Hate' %}
<div>~~ Not Breaking ~~ ~~ This Wave Drowns Hate ~~</div>
{% else %}
<div>{{ article.title }}</div>
{% endif %}

6
templates/list-exhibitions.html

@ -49,8 +49,8 @@
<img src="{{ event.image }}" alt="{{event.title}}" loading="lazy">
<div class="list-image-overlay"></div>
</div>
{% if event.title == 'This Is How I Roll' %}
<div class="list-title">This Is How 👁️ Roll</div>
{% if event.title == 'Not Breaking This Wave Drowns Hate' %}
<div class="list-title">~~ Not Breaking ~~ ~~ This Wave Drowns Hate ~~</div>
{% else %}
<div class="list-title">{{ event.title }}</div>
{% endif %}
@ -65,6 +65,8 @@
<div class="list-date">● {{ event.times | join(', ')}}</div>
{% endif %}
<div class="list-date">● {{ event.location[0] }}</div>
</div>
</div>
</a>

Loading…
Cancel
Save