Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def cachebust(url, file):

TALK_FORM_URL = 'https://forms.gle/ocZGbV6F3BUvD4vx9'
HOST_FORM_URL = 'https://forms.gle/Zc1Z15qQ4Rbs5e869'
TELEGRAM_URL = os.environ.get('TELEGRAM_URL', 'https://t.me/pyamsterdam')

CDN = bool(os.environ.get('CDN', False))
PATH = 'content'
Expand Down
6 changes: 6 additions & 0 deletions theme/templates/includes/section_what_we_do.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ <h4>
<div class="row justify-content-center">
<button class="btn btn-dark btn-lg mx-1 zammad-talk-form" type="button">Submit a talk</button>
<button class="btn btn-light btn-lg mx-1 zammad-host-form" type="button">Host an event</button>
{% if TELEGRAM_URL %}
<a class="btn btn-info btn-lg mx-1" href="{{ TELEGRAM_URL }}" target="_blank" rel="noopener noreferrer">
<i class="fab fa-telegram-plane mr-1"></i>
Join our Telegram
</a>
{% endif %}
</div>
</div>
</section>
6 changes: 6 additions & 0 deletions theme/templates/includes/site_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
<i class="fab fa-youtube align-middle footer-icon"></i>
Py.Amsterdam
</a></p>
{% if TELEGRAM_URL %}
<p><a href="{{ TELEGRAM_URL }}">
<i class="fab fa-telegram-plane align-middle footer-icon"></i>
Telegram
</a></p>
{% endif %}
</div>
<div class="col-12 col-md-4">
<h3 class="mb-4">More information</h3>
Expand Down