aboutsummaryrefslogtreecommitdiff
path: root/lume/src
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-08 14:55:05 -0700
committerXe Iaso <me@xeiaso.net>2024-06-08 14:55:05 -0700
commitad6b5de925f6afa92fc17f04de7be71af5bcc78e (patch)
treedd931a74c03b4da05e562ed1b1f3d7215e1319b8 /lume/src
parent748d9112e50039e858e73c66dc7293355914ac9e (diff)
downloadxesite-ad6b5de925f6afa92fc17f04de7be71af5bcc78e.tar.xz
xesite-ad6b5de925f6afa92fc17f04de7be71af5bcc78e.zip
internal/lume: push to future-sight
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src')
-rw-r--r--lume/src/_includes/base.njk38
1 files changed, 23 insertions, 15 deletions
diff --git a/lume/src/_includes/base.njk b/lume/src/_includes/base.njk
index c7c44b7..82e52c6 100644
--- a/lume/src/_includes/base.njk
+++ b/lume/src/_includes/base.njk
@@ -59,6 +59,10 @@
<meta name="twitter:card" content="summary_large_image"/>
{% endif %}
{% endif %}
+
+ {% if commit.hash == "development" %}
+ <meta name="robots" content="noindex" />
+ {% endif %}
</head>
<body class="px-4 py-2 mx-auto bg-bg-hard dark:bg-bgDark-hard text-fg-0 dark:text-fgDark-0 lg:max-w-5xl">
@@ -113,22 +117,26 @@
</nav>
</header>
- <!--
- <div id="sticky-banner" tabindex="-1" class="flex justify-between w-full p-4 border-b border-fg-2 bg-bg-0 dark:bg-bgDark-0 dark:border-fg-2">
- <div class="flex items-center mx-auto">
- <p class="flex items-center font-normal">
- <span class="inline-flex p-1 mr-3 bg-bg-1 rounded-full dark:bg-bgDark-1 w-6 h-6 items-center justify-center">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-exclamation-mark" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
- <path d="M12 19v.01"></path>
- <path d="M12 15v-10"></path>
- </svg>
- <span class="sr-only">Exclamation</span>
- </span>
- <span>Xe is now available for employment. Should you or your company be interested, please <a href="/contact/" class="underline">contact Xe</a> for more information. Remote positions only. Must hire in Canada.</span>
- </p>
+ {% if commit.hash == "development" %}
+ <div id="sticky-banner" tabindex="-1" class="flex justify-between w-full p-4 border-b border-fg-2 bg-bg-0 dark:bg-bgDark-0 dark:border-fg-2">
+ <div class="flex items-center mx-auto">
+ <p class="flex items-center font-normal">
+ <span class="inline-flex p-1 mr-3 bg-bg-1 rounded-full dark:bg-bgDark-1 w-6 h-6 items-center justify-center">
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-exclamation-mark" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
+ <path d="M12 19v.01"></path>
+ <path d="M12 15v-10"></path>
+ </svg>
+ <span class="sr-only">Exclamation</span>
+ </span>
+ <span>You have stumbled across the development site for xeiaso.net. Please do not share this link with others, don't be the reason I need something more robust than the honor system.</span>
+ </p>
+ </div>
</div>
- </div>
+ {% endif %}
+
+ <!--
+
-->
<div class="mt-4 p-2">