From 8909d945aaf1016398b7e8f8a6079ee738e8cd84 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Fri, 6 Jun 2025 19:10:05 -0700 Subject: [PATCH] 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. --- bin/gen-years.sh | 82 ++++++++++++++++++++++++++++++++++++++- index.html | 2 +- index.md | 93 ++++++++++++++++++++++++--------------------- news.html | 4 +- news.md | 99 +++++++++++++++++++++++++----------------------- sitemap.xml | 16 ++++---- status.html | 2 +- status.json | 2 +- years.html | 42 ++++++++++++++++++++ 9 files changed, 237 insertions(+), 105 deletions(-) diff --git a/bin/gen-years.sh b/bin/gen-years.sh index 67770c605..38e8bc22a 100755 --- a/bin/gen-years.sh +++ b/bin/gen-years.sh @@ -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 +
+ + + + + + + + + + + + +
+  IOCCC on Social Media +   click below to visit +
+    Patreon logo + +    Buy Me A Coffee logo + +    GitHub logo +
+
+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 +
+ + + + + + + + + + + + +
+  IOCCC on Social Media +   click below to visit +
+    Discord logo + +    Mastodon logo + +    YouTube logo +
+
+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') diff --git a/index.html b/index.html index e88f8f65e..e653925a8 100644 --- a/index.html +++ b/index.html @@ -448,7 +448,7 @@ FAQ on “website menus”.

diff --git a/index.md b/index.md index 8b84ce9f4..48ea6f3c4 100644 --- a/index.md +++ b/index.md @@ -22,51 +22,56 @@ plaintext menu even with JavaScript enabled, you can do so FAQ on "[website menus](faq.html#menus)". ->
-  Support IOCCC +  Support the IOCCC    click below to support
-> -> -> -> -> -> -> -> -> -> -> ->
->   Support IOCCC ->    click below to support ->
->     Patreon logo -> ->     Buy Me A Coffee logo -> ->     GitHub logo ->
+
+ ->
-> -> -> -> -> -> -> -> -> -> -> ->
->   IOCCC on Social Media ->    click below to visit ->
->     Discord logo -> ->     Mastodon logo -> ->     YouTube logo ->
+ + +  Support the IOCCC +   click below to support + + + + + +    Patreon logo + + +    Buy Me A Coffee logo + + +    GitHub logo + + + + +
+ + +
+ + + + + + + + + + + + +
+  IOCCC on Social Media +   click below to visit +
+    Discord logo + +    Mastodon logo + +    YouTube logo +
+
diff --git a/news.html b/news.html index ee6717849..082e3dc70 100644 --- a/news.html +++ b/news.html @@ -424,11 +424,12 @@ +

News

@@ -466,7 +467,6 @@
-  Support IOCCC +  Support the IOCCC    click below to support
-

News

2025-06-05

The IOCCC28 period for submission has closed.

We will post a few high level updates on Mastodon, diff --git a/news.md b/news.md index 6efec3dca..3759dc276 100644 --- a/news.md +++ b/news.md @@ -1,55 +1,60 @@ -> -> -> -> -> -> -> -> -> -> -> -> ->
->   Support IOCCC ->    click below to support ->
->     Patreon logo -> ->     Buy Me A Coffee logo -> ->     GitHub logo ->
- -> -> -> -> -> -> -> -> -> -> -> -> ->
->   IOCCC on Social Media ->    click below to visit ->
->     Discord logo -> ->     Mastodon logo -> ->     YouTube logo ->
- -

# News
+
+ + + + + + + + + + + + +
+  Support the IOCCC +   click below to support +
+    Patreon logo + +    Buy Me A Coffee logo + +    GitHub logo +
+
+ + +
+ + + + + + + + + + + + +
+  IOCCC on Social Media +   click below to visit +
+    Discord logo + +    Mastodon logo + +    YouTube logo +
+
+ + ## 2025-06-05 The **IOCCC28** period for submission has closed. diff --git a/sitemap.xml b/sitemap.xml index 5af0ae11f..eab5f5c7a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -15278,7 +15278,7 @@ https://www.ioccc.org/bin/gen-years.sh - 2025-04-16T20:59:19+00:00 + 2025-06-07T02:00:47+00:00 https://www.ioccc.org/bin/html.sed @@ -15450,11 +15450,11 @@ https://www.ioccc.org/index.html - 2025-06-07T01:09:58+00:00 + 2025-06-07T02:01:44+00:00 https://www.ioccc.org/index.md - 2025-06-07T01:11:42+00:00 + 2025-06-07T02:01:35+00:00 https://www.ioccc.org/ioccc.css @@ -15498,11 +15498,11 @@ https://www.ioccc.org/news.html - 2025-06-07T01:20:38+00:00 + 2025-06-07T02:01:46+00:00 https://www.ioccc.org/news.md - 2025-06-07T01:20:13+00:00 + 2025-06-07T02:01:18+00:00 https://www.ioccc.org/next/guidelines.html @@ -15598,11 +15598,11 @@ https://www.ioccc.org/status.html - 2025-06-07T01:20:45+00:00 + 2025-06-07T02:03:20+00:00 https://www.ioccc.org/status.json - 2025-06-07T01:20:44+00:00 + 2025-06-07T02:03:19+00:00 https://www.ioccc.org/status.md @@ -15626,6 +15626,6 @@ https://www.ioccc.org/years.html - 2025-01-26T20:59:52+00:00 + 2025-06-07T02:03:18+00:00 diff --git a/status.html b/status.html index 7285749ab..21bce345e 100644 --- a/status.html +++ b/status.html @@ -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" } diff --git a/status.json b/status.json index 14fd92821..e6420c0c5 100644 --- a/status.json +++ b/status.json @@ -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" } diff --git a/years.html b/years.html index 024199c52..d75937ac5 100644 --- a/years.html +++ b/years.html @@ -431,6 +431,48 @@ 1994 | 1993 | 1992 | 1991 | 1990 | 1989 | 1988 | 1987

1986 | 1985 | 1984

Year level tarballs

+
+ + + + + + + + + +
+  IOCCC on Social Media +   click below to visit +
+    Patreon logo + +    Buy Me A Coffee logo + +    GitHub logo +
+
+
+ + + + + + + + + +
+  IOCCC on Social Media +   click below to visit +
+    Discord logo + +    Mastodon logo + +    YouTube logo +
+

2020 - The 27th IOCCC

About the 27th IOCCC (2020)