improve use of Support the IOCCC, Social Media code blocks

Changed "Support IOCCC" heading to "Support the IOCCC".

Use HTML blockquote instead of markdown quote for the "Support the IOCCC"
and "IOCCC on Social Media" HTML code blocks.

Added "Support the IOCCC" and "IOCCC on Social Media" to the
top level `index.html` page, the top level `news.html` page and
the top level `years.html` page.

Changed `bin/gen-years.sh` VERSION from "2.0.0 2025-03-13"
to "2.1.0 2025-06-06".

Update sitemap.

Tested the above via `make gen_top_html gen_years timestamp` on macOS.
This commit is contained in:
Landon Curt Noll committed 2025-06-06 19:10:05 -07:00
1 parent de621fafba
commit 8909d945aa
9 files changed
+237 -105

No files matched your search

+81 -1
View File
@@ -106,7 +106,7 @@ export LC_ALL="C"
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="2.0.0 2025-03-13" export VERSION="2.1.0 2025-06-06"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -723,6 +723,86 @@ else
fi fi
# write Support IOCCC
#
{
cat << EOF2
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">&nbsp;&nbsp;IOCCC on Social Media</span>
<span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to visit</span>
</td>
</tr>
<tr>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://patreon.com/IOCCC"><img src="png/patreon.128x19.png" alt="Patreon logo" width=128 height=19></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://coff.ee/ioccc"><img src="png/buymeacoffee.128x38.png" alt="Buy Me A Coffee logo" width=128 height=38></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/sponsors/ioccc-src"><img src="png/GitHub.128x51.png" alt="GitHub logo" width=128 height=51></a>
</td>
</tr>
</table>
</blockquote>
EOF2
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_YEARS_MD"
else
cat > /dev/null
if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: because of -n, Support IOCCC NOT written into: $TMP_YEARS_MD" 1>&2
fi
fi
# write IOCCC on Social Media
#
{
cat << EOF3
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">&nbsp;&nbsp;IOCCC on Social Media</span>
<span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to visit</span>
</td>
</tr>
<tr>
<td style="padding-top: 8px;">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://discord.gg/Wa42Qujwnw"><img src="png/Discord.128x37.png" alt="Discord logo" width=128 height=37></a>
</td>
<td style="padding-top: 12px; padding-bottom: 3px;">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://fosstodon.org/@ioccc"><img src="png/mastodon.128x38.png" alt="Mastodon logo" width=128 height=38></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.youtube.com/@OurFavoriteUniverse"><img src="png/YouTube.128x46.png" alt="YouTube logo" width=128 height=46></a>
</td>
</tr>
</table>
</blockquote>
EOF3
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_YEARS_MD"
else
cat > /dev/null
if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: because of -n, IOCCC on Social Media NOT written into: $TMP_YEARS_MD" 1>&2
fi
fi
# write markdown for each IOCCC year in reverse order # write markdown for each IOCCC year in reverse order
# #
YEAR_COUNT=$(wc -l < "$TOP_FILE" | sed -e 's/[[:space:]]//g') YEAR_COUNT=$(wc -l < "$TOP_FILE" | sed -e 's/[[:space:]]//g')
+1 -1
View File
@@ -448,7 +448,7 @@ FAQ on “<a href="faq.html#menus">website menus</a>”.</p>
<table> <table>
<tr> <tr>
<td colspan="3" style="padding-top: 12px;"> <td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">  Support IOCCC</span> <span class="pseudo_h3">  Support the IOCCC</span>
<span class="small_click_below">   click below to support</span> <span class="small_click_below">   click below to support</span>
</td> </td>
</tr> </tr>
+49 -44
View File
@@ -22,51 +22,56 @@ plaintext menu even with JavaScript enabled, you can do so
FAQ on "[website menus](faq.html#menus)". FAQ on "[website menus](faq.html#menus)".
> <table> <blockquote>
> <table>
> <tr>
> <td colspan="3" style="padding-top: 12px;">
> <span class="pseudo_h3">&nbsp;&nbsp;Support IOCCC</span>
> <span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to support</span>
> </td>
> </tr>
>
> <tr>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://patreon.com/IOCCC"><img src="png/patreon.128x19.png" alt="Patreon logo" width=128 height=19></a>
> </td>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://coff.ee/ioccc"><img src="png/buymeacoffee.128x38.png" alt="Buy Me A Coffee logo" width=128 height=38></a>
> </td>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/sponsors/ioccc-src"><img src="png/GitHub.128x51.png" alt="GitHub logo" width=128 height=51></a>
> </td>
> </tr>
>
> </table>
> <table> <tr>
> <td colspan="3" style="padding-top: 12px;">
> <tr> <span class="pseudo_h3">&nbsp;&nbsp;Support the IOCCC</span>
> <td colspan="3" style="padding-top: 12px;"> <span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to support</span>
> <span class="pseudo_h3">&nbsp;&nbsp;IOCCC on Social Media</span> </td>
> <span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to visit</span> </tr>
> </td>
> </tr> <tr>
> <td>
> <tr> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://patreon.com/IOCCC"><img src="png/patreon.128x19.png" alt="Patreon logo" width=128 height=19></a>
> <td style="padding-top: 8px;"> </td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://discord.gg/Wa42Qujwnw"><img src="png/Discord.128x37.png" alt="Discord logo" width=128 height=37></a> <td>
> </td> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://coff.ee/ioccc"><img src="png/buymeacoffee.128x38.png" alt="Buy Me A Coffee logo" width=128 height=38></a>
> <td style="padding-top: 12px; padding-bottom: 3px;"> </td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://fosstodon.org/@ioccc"><img src="png/mastodon.128x38.png" alt="Mastodon logo" width=128 height=38></a> <td>
> </td> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/sponsors/ioccc-src"><img src="png/GitHub.128x51.png" alt="GitHub logo" width=128 height=51></a>
> <td> </td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.youtube.com/@OurFavoriteUniverse"><img src="png/YouTube.128x46.png" alt="YouTube logo" width=128 height=46></a> </tr>
> </td>
> </tr> </table>
> </blockquote>
> </table>
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">&nbsp;&nbsp;IOCCC on Social Media</span>
<span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to visit</span>
</td>
</tr>
<tr>
<td style="padding-top: 8px;">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://discord.gg/Wa42Qujwnw"><img src="png/Discord.128x37.png" alt="Discord logo" width=128 height=37></a>
</td>
<td style="padding-top: 12px; padding-bottom: 3px;">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://fosstodon.org/@ioccc"><img src="png/mastodon.128x38.png" alt="Mastodon logo" width=128 height=38></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.youtube.com/@OurFavoriteUniverse"><img src="png/YouTube.128x46.png" alt="YouTube logo" width=128 height=46></a>
</td>
</tr>
</table>
</blockquote>
<div id="obfuscate"> <div id="obfuscate">
+2 -2
View File
@@ -424,11 +424,12 @@
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh --> <!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<!-- BEFORE: 1st line of markdown file: news.md --> <!-- BEFORE: 1st line of markdown file: news.md -->
<h1 id="news">News</h1>
<blockquote> <blockquote>
<table> <table>
<tr> <tr>
<td colspan="3" style="padding-top: 12px;"> <td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">  Support IOCCC</span> <span class="pseudo_h3">  Support the IOCCC</span>
<span class="small_click_below">   click below to support</span> <span class="small_click_below">   click below to support</span>
</td> </td>
</tr> </tr>
@@ -466,7 +467,6 @@
</tr> </tr>
</table> </table>
</blockquote> </blockquote>
<h1 id="news">News</h1>
<h2 id="section">2025-06-05</h2> <h2 id="section">2025-06-05</h2>
<p>The <strong>IOCCC28</strong> period for submission has closed.</p> <p>The <strong>IOCCC28</strong> period for submission has closed.</p>
<p>We will post a few high level updates on <a href="https://fosstodon.org/@ioccc">Mastodon</a>, <p>We will post a few high level updates on <a href="https://fosstodon.org/@ioccc">Mastodon</a>,
+52 -47
View File
@@ -1,55 +1,60 @@
> <table>
>
> <tr>
> <td colspan="3" style="padding-top: 12px;">
> <span class="pseudo_h3">&nbsp;&nbsp;Support IOCCC</span>
> <span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to support</span>
> </td>
> </tr>
>
> <tr>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://patreon.com/IOCCC"><img src="png/patreon.128x19.png" alt="Patreon logo" width=128 height=19></a>
> </td>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://coff.ee/ioccc"><img src="png/buymeacoffee.128x38.png" alt="Buy Me A Coffee logo" width=128 height=38></a>
> </td>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/sponsors/ioccc-src"><img src="png/GitHub.128x51.png" alt="GitHub logo" width=128 height=51></a>
> </td>
> </tr>
>
> </table>
> <table>
>
> <tr>
> <td colspan="3" style="padding-top: 12px;">
> <span class="pseudo_h3">&nbsp;&nbsp;IOCCC on Social Media</span>
> <span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to visit</span>
> </td>
> </tr>
>
> <tr>
> <td style="padding-top: 8px;">
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://discord.gg/Wa42Qujwnw"><img src="png/Discord.128x37.png" alt="Discord logo" width=128 height=37></a>
> </td>
> <td style="padding-top: 12px; padding-bottom: 3px;">
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://fosstodon.org/@ioccc"><img src="png/mastodon.128x38.png" alt="Mastodon logo" width=128 height=38></a>
> </td>
> <td>
> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.youtube.com/@OurFavoriteUniverse"><img src="png/YouTube.128x46.png" alt="YouTube logo" width=128 height=46></a>
> </td>
> </tr>
>
> </table>
<div id="news"> <div id="news">
# News # News
</div> </div>
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">&nbsp;&nbsp;Support the IOCCC</span>
<span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to support</span>
</td>
</tr>
<tr>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://patreon.com/IOCCC"><img src="png/patreon.128x19.png" alt="Patreon logo" width=128 height=19></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://coff.ee/ioccc"><img src="png/buymeacoffee.128x38.png" alt="Buy Me A Coffee logo" width=128 height=38></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/sponsors/ioccc-src"><img src="png/GitHub.128x51.png" alt="GitHub logo" width=128 height=51></a>
</td>
</tr>
</table>
</blockquote>
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">&nbsp;&nbsp;IOCCC on Social Media</span>
<span class="small_click_below">&nbsp;&nbsp;&nbsp;click below to visit</span>
</td>
</tr>
<tr>
<td style="padding-top: 8px;">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://discord.gg/Wa42Qujwnw"><img src="png/Discord.128x37.png" alt="Discord logo" width=128 height=37></a>
</td>
<td style="padding-top: 12px; padding-bottom: 3px;">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://fosstodon.org/@ioccc"><img src="png/mastodon.128x38.png" alt="Mastodon logo" width=128 height=38></a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.youtube.com/@OurFavoriteUniverse"><img src="png/YouTube.128x46.png" alt="YouTube logo" width=128 height=46></a>
</td>
</tr>
</table>
</blockquote>
## 2025-06-05 ## 2025-06-05
The **IOCCC28** period for submission has closed. The **IOCCC28** period for submission has closed.
+8 -8
View File
@@ -15278,7 +15278,7 @@
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/bin/gen-years.sh</loc> <loc>https://www.ioccc.org/bin/gen-years.sh</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod> <lastmod>2025-06-07T02:00:47+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/bin/html.sed</loc> <loc>https://www.ioccc.org/bin/html.sed</loc>
@@ -15450,11 +15450,11 @@
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/index.html</loc> <loc>https://www.ioccc.org/index.html</loc>
<lastmod>2025-06-07T01:09:58+00:00</lastmod> <lastmod>2025-06-07T02:01:44+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/index.md</loc> <loc>https://www.ioccc.org/index.md</loc>
<lastmod>2025-06-07T01:11:42+00:00</lastmod> <lastmod>2025-06-07T02:01:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/ioccc.css</loc> <loc>https://www.ioccc.org/ioccc.css</loc>
@@ -15498,11 +15498,11 @@
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/news.html</loc> <loc>https://www.ioccc.org/news.html</loc>
<lastmod>2025-06-07T01:20:38+00:00</lastmod> <lastmod>2025-06-07T02:01:46+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/news.md</loc> <loc>https://www.ioccc.org/news.md</loc>
<lastmod>2025-06-07T01:20:13+00:00</lastmod> <lastmod>2025-06-07T02:01:18+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/next/guidelines.html</loc> <loc>https://www.ioccc.org/next/guidelines.html</loc>
@@ -15598,11 +15598,11 @@
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/status.html</loc> <loc>https://www.ioccc.org/status.html</loc>
<lastmod>2025-06-07T01:20:45+00:00</lastmod> <lastmod>2025-06-07T02:03:20+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/status.json</loc> <loc>https://www.ioccc.org/status.json</loc>
<lastmod>2025-06-07T01:20:44+00:00</lastmod> <lastmod>2025-06-07T02:03:19+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/status.md</loc> <loc>https://www.ioccc.org/status.md</loc>
@@ -15626,6 +15626,6 @@
</url> </url>
<url> <url>
<loc>https://www.ioccc.org/years.html</loc> <loc>https://www.ioccc.org/years.html</loc>
<lastmod>2025-01-26T20:59:52+00:00</lastmod> <lastmod>2025-06-07T02:03:18+00:00</lastmod>
</url> </url>
</urlset> </urlset>
+1 -1
View File
@@ -433,7 +433,7 @@
&quot;no_comment&quot; : &quot;mandatory comment: because comments were removed from the original JSON spec&quot;, &quot;no_comment&quot; : &quot;mandatory comment: because comments were removed from the original JSON spec&quot;,
&quot;IOCCC_status_version&quot; : &quot;1.0 2024-03-09&quot;, &quot;IOCCC_status_version&quot; : &quot;1.0 2024-03-09&quot;,
&quot;contest_status&quot; : &quot;judging&quot;, &quot;contest_status&quot; : &quot;judging&quot;,
&quot;news_update&quot; : &quot;2025-06-07T01:20:13+00:00&quot;, &quot;news_update&quot; : &quot;2025-06-07T02:01:18+00:00&quot;,
&quot;status_update&quot; : &quot;2025-06-05T03:42:18+00:00&quot; &quot;status_update&quot; : &quot;2025-06-05T03:42:18+00:00&quot;
}</code></pre> }</code></pre>
+1 -1
View File
@@ -2,6 +2,6 @@
"no_comment" : "mandatory comment: because comments were removed from the original JSON spec", "no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
"IOCCC_status_version" : "1.0 2024-03-09", "IOCCC_status_version" : "1.0 2024-03-09",
"contest_status" : "judging", "contest_status" : "judging",
"news_update" : "2025-06-07T01:20:13+00:00", "news_update" : "2025-06-07T02:01:18+00:00",
"status_update" : "2025-06-05T03:42:18+00:00" "status_update" : "2025-06-05T03:42:18+00:00"
} }
+42
View File
@@ -431,6 +431,48 @@
<a href="#1994">1994</a> | <a href="#1993">1993</a> | <a href="#1992">1992</a> | <a href="#1991">1991</a> | <a href="#1990">1990</a> | <a href="#1989">1989</a> | <a href="#1988">1988</a> | <a href="#1987">1987</a><br><br> <a href="#1994">1994</a> | <a href="#1993">1993</a> | <a href="#1992">1992</a> | <a href="#1991">1991</a> | <a href="#1990">1990</a> | <a href="#1989">1989</a> | <a href="#1988">1988</a> | <a href="#1987">1987</a><br><br>
<a href="#1986">1986</a> | <a href="#1985">1985</a> | <a href="#1984">1984</a></p> <a href="#1986">1986</a> | <a href="#1985">1985</a> | <a href="#1984">1984</a></p>
<p><a href="#year_level"><strong>Year level tarballs</strong></a></p> <p><a href="#year_level"><strong>Year level tarballs</strong></a></p>
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">  IOCCC on Social Media</span>
<span class="small_click_below">   click below to visit</span>
</td>
</tr>
<tr>
<td>
    <a href="https://patreon.com/IOCCC"><img src="png/patreon.128x19.png" alt="Patreon logo" width=128 height=19></a>
</td>
<td>
    <a href="https://coff.ee/ioccc"><img src="png/buymeacoffee.128x38.png" alt="Buy Me A Coffee logo" width=128 height=38></a>
</td>
<td>
    <a href="https://github.com/sponsors/ioccc-src"><img src="png/GitHub.128x51.png" alt="GitHub logo" width=128 height=51></a>
</td>
</tr>
</table>
</blockquote>
<blockquote>
<table>
<tr>
<td colspan="3" style="padding-top: 12px;">
<span class="pseudo_h3">  IOCCC on Social Media</span>
<span class="small_click_below">   click below to visit</span>
</td>
</tr>
<tr>
<td style="padding-top: 8px;">
    <a href="https://discord.gg/Wa42Qujwnw"><img src="png/Discord.128x37.png" alt="Discord logo" width=128 height=37></a>
</td>
<td style="padding-top: 12px; padding-bottom: 3px;">
    <a href="https://fosstodon.org/@ioccc"><img src="png/mastodon.128x38.png" alt="Mastodon logo" width=128 height=38></a>
</td>
<td>
    <a href="https://www.youtube.com/@OurFavoriteUniverse"><img src="png/YouTube.128x46.png" alt="YouTube logo" width=128 height=46></a>
</td>
</tr>
</table>
</blockquote>
<div id="2020"> <div id="2020">
<h2 id="the-27th-ioccc">2020 - The 27th IOCCC</h2> <h2 id="the-27th-ioccc">2020 - The 27th IOCCC</h2>
<a class="normal" href="2020/index.html">About the 27th IOCCC (2020)</a><br> <a class="normal" href="2020/index.html">About the 27th IOCCC (2020)</a><br>