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:
1 parent
de621fafba
commit
8909d945aa
9 files changed
+237
-105
No files matched your search
+81
-1
@@ -106,7 +106,7 @@ export LC_ALL="C"
|
||||
|
||||
# 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")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -723,6 +723,86 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# write Support IOCCC
|
||||
#
|
||||
{
|
||||
cat << EOF2
|
||||
<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>
|
||||
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"> 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>
|
||||
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
|
||||
#
|
||||
YEAR_COUNT=$(wc -l < "$TOP_FILE" | sed -e 's/[[:space:]]//g')
|
||||
|
||||
+1
-1
@@ -448,7 +448,7 @@ FAQ on “<a href="faq.html#menus">website menus</a>”.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -22,51 +22,56 @@ plaintext menu even with JavaScript enabled, you can do so
|
||||
FAQ on "[website menus](faq.html#menus)".
|
||||
|
||||
|
||||
> <table>
|
||||
>
|
||||
> <tr>
|
||||
> <td colspan="3" style="padding-top: 12px;">
|
||||
> <span class="pseudo_h3"> Support IOCCC</span>
|
||||
> <span class="small_click_below"> click below to support</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>
|
||||
<table>
|
||||
|
||||
> <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>
|
||||
<tr>
|
||||
<td colspan="3" style="padding-top: 12px;">
|
||||
<span class="pseudo_h3"> Support the IOCCC</span>
|
||||
<span class="small_click_below"> click below to support</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="obfuscate">
|
||||
|
||||
@@ -424,11 +424,12 @@
|
||||
<!-- 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 -->
|
||||
<h1 id="news">News</h1>
|
||||
<blockquote>
|
||||
<table>
|
||||
<tr>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -466,7 +467,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h1 id="news">News</h1>
|
||||
<h2 id="section">2025-06-05</h2>
|
||||
<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>,
|
||||
|
||||
@@ -1,55 +1,60 @@
|
||||
> <table>
|
||||
>
|
||||
> <tr>
|
||||
> <td colspan="3" style="padding-top: 12px;">
|
||||
> <span class="pseudo_h3"> Support IOCCC</span>
|
||||
> <span class="small_click_below"> click below to support</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>
|
||||
|
||||
> <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>
|
||||
|
||||
|
||||
<div id="news">
|
||||
# News
|
||||
</div>
|
||||
|
||||
|
||||
<blockquote>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td colspan="3" style="padding-top: 12px;">
|
||||
<span class="pseudo_h3"> Support the IOCCC</span>
|
||||
<span class="small_click_below"> click below to support</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>
|
||||
|
||||
|
||||
## 2025-06-05
|
||||
|
||||
The **IOCCC28** period for submission has closed.
|
||||
|
||||
+8
-8
@@ -15278,7 +15278,7 @@
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
<loc>https://www.ioccc.org/bin/html.sed</loc>
|
||||
@@ -15450,11 +15450,11 @@
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
<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>
|
||||
<loc>https://www.ioccc.org/ioccc.css</loc>
|
||||
@@ -15498,11 +15498,11 @@
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
<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>
|
||||
<loc>https://www.ioccc.org/next/guidelines.html</loc>
|
||||
@@ -15598,11 +15598,11 @@
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
<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>
|
||||
<loc>https://www.ioccc.org/status.md</loc>
|
||||
@@ -15626,6 +15626,6 @@
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</urlset>
|
||||
+1
-1
@@ -433,7 +433,7 @@
|
||||
"no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
|
||||
"IOCCC_status_version" : "1.0 2024-03-09",
|
||||
"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"
|
||||
}</code></pre>
|
||||
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@
|
||||
"no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
|
||||
"IOCCC_status_version" : "1.0 2024-03-09",
|
||||
"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"
|
||||
}
|
||||
+42
@@ -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="#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>
|
||||
<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">
|
||||
<h2 id="the-27th-ioccc">2020 - The 27th IOCCC</h2>
|
||||
<a class="normal" href="2020/index.html">About the 27th IOCCC (2020)</a><br>
|
||||
|
||||
Reference in new issue
Block a user