Skip to content

Commit

Permalink
dd slack version, schedule version
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed May 24, 2024
1 parent 5df15ab commit 29109f8
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion _layouts/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,44 @@ <h2>Instructor Zone</h2>

<h3>Promote the Event</h3>

<p>Tootable/Tweetable version:</p>
<p><abbr title="Tooting is the verb used when posting to mastodon or the fediverse, which are like open source twitter.">Tootable</abbr>/Tweetable version:</p>
<div data-commit="Add requirement" class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
{{ event.title }}! 📢

{{ page.description }}

📅 {{ event | collapse_date_pretty }}
➡️ {% if page.short_id %}https://gxy.io/GTN:{{ page.short_id }}{% else %}{{ site.url }}{{ site.baseurl }}{{ page.url }}{% endif %}
{%- if event.registration.link %}
📝 Registration is open {% if event.registration.deadline %}until {{ event.registration.deadline }}{% endif %}! {{ event.registration.link }}
{% endif %}
</code></pre></div> </div>

<p>Slack-compatible version:</p>
<div data-commit="Add requirement" class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
{{ event.title }}! 📢

{{ page.description }}

:calendar: {{ event | collapse_date_pretty }}
:arrow_right: {% if page.short_id %}https://gxy.io/GTN:{{ page.short_id }}{% else %}{{ site.url }}{{ site.baseurl }}{{ page.url }}{% endif %}
{%- if event.registration.link %}
:pencil: Registration is open {% if event.registration.deadline %}until {{ event.registration.deadline }}{% endif %}! {{ event.registration.link }}
{% endif %}
</code></pre></div> </div>

<p>Version with schedule:</p>
<div data-commit="Add requirement" class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
{{ event.title }}! 📢

{{ page.description }}

**Agenda**:
{% for section in event.program -%}
{%- unless section.subsection -%}
- {{ section.section }}
{% endunless -%}
{%- endfor %}
📅 {{ event | collapse_date_pretty }}
➡️ {% if page.short_id %}https://gxy.io/GTN:{{ page.short_id }}{% else %}{{ site.url }}{{ site.baseurl }}{{ page.url }}{% endif %}
{%- if event.registration.link %}
Expand Down

0 comments on commit 29109f8

Please sign in to comment.