💄 Hide navigation during printing

This commit is contained in:
Miki Vanusek
2022-04-03 13:51:52 +10:00
committed by James Panther
parent 8161979384
commit a13b35c505
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<ol class="text-sm text-neutral-500 dark:text-neutral-400">
<ol class="text-sm text-neutral-500 dark:text-neutral-400 print:hidden">
{{ template "crumb" (dict "p1" . "p2" .) }}
</ol>
{{ define "crumb" }}
+1 -1
View File
@@ -1,4 +1,4 @@
<footer class="py-10">
<footer class="py-10 print:hidden">
{{/* Footer menu */}}
{{ if .Site.Menus.footer }}
<nav class="pb-4 text-base font-medium text-neutral-500 dark:text-neutral-400">
+1 -1
View File
@@ -1,5 +1,5 @@
<header
class="flex justify-between py-6 font-semibold sm:items-center sm:py-10 text-neutral-900 dark:text-neutral"
class="flex justify-between py-6 font-semibold sm:items-center sm:py-10 text-neutral-900 dark:text-neutral print:hidden"
>
{{/* Site logo/title */}}
<div>