Skip to content

Commit 45d6ca4

Browse files
Simplify newsletter description content
Removed countdown messages from the newsletter description.
1 parent c611d4d commit 45d6ca4

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

newsletter.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,7 @@ permalink: /newsletter.xml
4040
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
4141
<dc:creator>{{ site.title | xml_escape }}</dc:creator>
4242
<category>{{ conf.sub }}</category>
43-
<description><![CDATA[<p style="margin:0 0 10px 0;">
44-
{%- if days_until <= 0 -%}<span style="background:#fecaca;color:#991b1b;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;display:inline-block;">&#128680; Last day!</span>
45-
{%- elsif days_until == 1 -%}<span style="background:#fed7aa;color:#9a3412;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;display:inline-block;">&#128293; 1 day left</span>
46-
{%- elsif days_until <= 3 -%}<span style="background:#fef3c7;color:#92400e;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;display:inline-block;">&#9200; {{ days_until }} days left</span>
47-
{%- elsif days_until <= 7 -%}<span style="background:#fef9c3;color:#854d0e;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;display:inline-block;">&#9203; {{ days_until }} days left</span>
48-
{%- else -%}<span style="background:#dbeafe;color:#1e40af;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;display:inline-block;">&#128197; {{ days_until }} days</span>
49-
{%- endif -%}
50-
</p>
51-
<p>&#128205; {{ conf.place | xml_escape }} &#183; &#128197; {% translate_file dates/pretty_dates.html start=conf.start end=conf.end %}</p>
52-
<p>&#9997; CfP closes {% translate_file dates/pretty_dates.html start=cfp end=cfp %} &#8212; {{ tagline }}</p>]]></description>
43+
<description><![CDATA[<p>&#128205; {{ conf.place | xml_escape }} &#183; &#128197; {% translate_file dates/pretty_dates.html start=conf.start end=conf.end %}</p><p>&#9997; CfP closes {% translate_file dates/pretty_dates.html start=cfp end=cfp %} &#8212; {{ tagline }}</p>]]></description>
5344
</item>
5445
{%- assign emitted = emitted | plus: 1 -%}
5546
{%- endif -%}

0 commit comments

Comments
 (0)