Skip to content

Commit

Permalink
chore: update discord link
Browse files Browse the repository at this point in the history
the previous one was expired.

fixes gnolang#188

Signed-off-by: Manfred Touron <[email protected]>
  • Loading branch information
moul committed May 12, 2022
1 parent c81342e commit 723c59b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Also, see the [quickstart guide](https://gno.land/r/boards:gnolang/4).

## Contact

* Discord: https://discord.gg/ctRYzHz5dD <-- join now
* Discord: https://discord.gg/tF2X8M6cVj <-- join now
* Gnoland: https://gno.land/r/boards:gnolang
* Telegram: https://t.me/gnoland
* Twitter: https://twitter.com/_gnoland
20 changes: 10 additions & 10 deletions gnoland/website/views/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<script type="text/javascript" src="/static/js/purify.min.js"></script>
</head>
<body onload="main()">
<div id="header">
<a id="logo" href="/">GNO.LAND</a>
<div id="header">
<a id="logo" href="/">GNO.LAND</a>
{{ template "header_buttons" }}
</div>
</div>
<div id="home">
<pre id="source">

Expand All @@ -35,19 +35,19 @@
Package names are not guaranteed to be available for production.\
To be guaranteed a package and realm name, [register](/r/users).

Also, join our [Discord](https://discord.gg/ctRYzHz5dD).
Also, join our [Discord](https://discord.gg/tF2X8M6cVj).

</pre>
</div>
</body>
<script type="text/javascript">
function main() {
marked.setOptions({gfm:true});
window.contents = document.getElementById("source").innerHTML;
var doc = new DOMParser().parseFromString(window.contents, "text/html");
var contents = doc.documentElement.textContent
var parsed = marked.parse(contents);
document.getElementById("home").innerHTML = DOMPurify.sanitize(parsed, { USE_PROFILES: { html: true } });
marked.setOptions({gfm:true});
window.contents = document.getElementById("source").innerHTML;
var doc = new DOMParser().parseFromString(window.contents, "text/html");
var contents = doc.documentElement.textContent
var parsed = marked.parse(contents);
document.getElementById("home").innerHTML = DOMPurify.sanitize(parsed, { USE_PROFILES: { html: true } });
};
</script>
</html>
Expand Down

0 comments on commit 723c59b

Please sign in to comment.