mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 10:46:34 +00:00
Improve scriptiness
This commit is contained in:
12
manuscript/extras/javascript/discord.js
Normal file
12
manuscript/extras/javascript/discord.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||||
|
const button = new Crate({
|
||||||
|
server: '396055506072109067',
|
||||||
|
channel: '456689991326760973',
|
||||||
|
shard: 'https://disweb.deploys.io',
|
||||||
|
color: '#795548',
|
||||||
|
indicator: false,
|
||||||
|
notifications: true
|
||||||
|
})
|
||||||
|
|
||||||
|
button.notify('Need a 🤚? Hot sweaty geeks are waiting to chat to you! Click 👇')
|
||||||
|
</script>
|
||||||
@@ -193,8 +193,8 @@ google_analytics:
|
|||||||
extra_css:
|
extra_css:
|
||||||
- 'stylesheets/mailchimp.css'
|
- 'stylesheets/mailchimp.css'
|
||||||
|
|
||||||
#extra_javascript:
|
extra_javascript:
|
||||||
# - 'extras/javascript/discord.js'
|
- 'extras/javascript/discord.js'
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
|
|||||||
@@ -13,22 +13,4 @@
|
|||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="https://instant.page/1.1.0" type="module" integrity="sha384-EwBObn5QAxP8f09iemwAJljc+sU+eUXeL9vSBw1eNmVarwhKk2F9vBEpaN9rsrtp"></script>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
|
||||||
const button = new Crate({
|
|
||||||
server: '396055506072109067',
|
|
||||||
channel: '456689991326760973',
|
|
||||||
shard: 'https://disweb.deploys.io',
|
|
||||||
color: '#795548',
|
|
||||||
indicator: false,
|
|
||||||
notifications: true
|
|
||||||
})
|
|
||||||
|
|
||||||
button.notify('Need a 🤚? Hot sweaty geeks are waiting to chat to you! Click 👇')
|
|
||||||
</script>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user