diff --git a/convert_sg_db.py b/convert_sg_db.py index 1cf324067..2f8389879 100755 --- a/convert_sg_db.py +++ b/convert_sg_db.py @@ -72,11 +72,11 @@ def create_idea_whatwg_org(db, template): return wrap_in_site_template(template, "Ideas", content) def standard_or_idea_to_html(document): - twitter_output = "" - # Optional as ideas currently do not have Twitter accounts + x_output = "" + # Optional as ideas currently do not have X accounts if "twitter" in document: - twitter_output = " (@{1})".format(document["twitter"], document["twitter"]) - output = "\n
{1}{2}
".format(document["href"], document["name"], twitter_output) + x_output = " (@{1})".format(document["twitter"], document["twitter"]) + output = "\n
{1}{2}
".format(document["href"], document["name"], x_output) return output + "\n
{}
\n".format(markdown(document["description"])[:-1]) # Strip trailing \n diff --git a/whatwg.org/img/bird-webpage.svg b/whatwg.org/img/bird-webpage.svg deleted file mode 100644 index ef788d98a..000000000 --- a/whatwg.org/img/bird-webpage.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/whatwg.org/img/x-webpage.svg b/whatwg.org/img/x.svg similarity index 100% rename from whatwg.org/img/x-webpage.svg rename to whatwg.org/img/x.svg diff --git a/whatwg.org/index.html b/whatwg.org/index.html index 3971f2a1d..f2b9fec48 100644 --- a/whatwg.org/index.html +++ b/whatwg.org/index.html @@ -117,8 +117,8 @@ background: url(/img/chat.svg); } -#twitter::before { - background: url(/img/x-webpage.svg); +#x::before { + background: url(/img/x.svg); } #checker::before { @@ -173,7 +173,7 @@

Welcome to the WHATWG community

Chat

Talk to other members of the WHATWG community

- + X (Twitter)

Keep track of spec changes and other announcements

diff --git a/whatwg.org/service-worker.js b/whatwg.org/service-worker.js index de1179f72..06a6170a7 100644 --- a/whatwg.org/service-worker.js +++ b/whatwg.org/service-worker.js @@ -1,12 +1,12 @@ "use strict"; -self.cacheKey = "v5"; +self.cacheKey = "v6"; self.toCache = [ "/img/arrow.svg", - "/img/bird-webpage.svg", "/img/checker.svg", "/img/chat.svg", "/img/participate.svg", + "/img/x.svg", "/validator/", "/faq", "/chat",