1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-12 17:26:19 +00:00
Files
geek-cookbook/overrides/main.html
David Young f63e88abf4 Update banner to point to ElfHostoed
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2024-10-18 12:31:41 +13:00

47 lines
1.7 KiB
HTML

{% extends "base.html" %}
{% block announce %}
<style>.md-banner a,.md-banner a:focus,.md-banner a:hover{color:currentColor}.md-banner strong{white-space:nowrap}.md-banner .twitter{margin-left:.2em;color:#00acee}</style>
<div align="center">Too. Much. YAML? 😡 <A HREF='https://store.elfhosted.com/product-category/streaming-bundles/24h-demo/'>Skip the YAML and trial an ElfHosted stack for a day for $1</A>, no strings attached! 🎉<BR/>
{% endblock %}
{% block analytics %}
<script src="/js/i-am-groot.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
{% endblock %}
<!-- Add little penguin ascii-art to titles instead of 20-character-long site name -->
{% block htmltitle %}
{% if page.meta and page.meta.title %}
<title>{{ page.meta.title }} |・∀・</title>
{% elif page.title and not page.is_homepage %}
<title>{{ page.title | striptags }} |・∀・</title>
{% else %}
<title>{{ config.site_name }}</title>
{% endif %}
{% endblock %}
{% block extrahead %}
<!-- For widgetbot -->
<!-- <script src='https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' async defer>
const button = new Crate({
server: '396055506072109067', // Funky Penguin
channel: '456689991326760973', // Cookbook channel
// username: 'Website Reader',
// color: '#000',
notifications: true,
indicator: true // most recent change
})
button.notify({
content: 'Need a 🤚? Hot, sweaty geeks are waiting to chat to you! Click 👇',
timeout: 100000
})
</script> -->
<!-- <script
onload="window.glime.init(`EZkw09jyhMSFVf`)"
src="https://cdn.glimelab.ai/widget/1.0.0/widget.js">
</script> -->
{% endblock %}