one more search suggestion

master
Aevann 2024-10-19 12:38:03 +03:00
parent 57259857a3
commit 4a30cb8dcf
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
{%- set search_placeholder = "Search" -%}
{%- if hole -%}
{%- if p -%}
{%- set search_placeholder = "Search (try 'post:" ~ p.id ~ "')" -%}
{%- elif hole -%}
{%- set search_placeholder = "Search (try 'hole:" ~ hole.name ~ "')" -%}
{%- else -%}
{%- set search_placeholder = "Search" -%}
{%- endif -%}
<nav class="shadow-md fixed-top">