<%- include('partials/header',{site,pageTitle:(q?'“'+q+'” की खोज':'खबर खोजें')+' | KhaberHindi',pageDescription:'KhaberHindi पर खबर खोजें',robotsIndex:false,base}) %><section class="shell archive-head search-page"><span>SEARCH</span><h1>खबर खोजें</h1><form action="/search"><input name="q" value="<%= q %>" placeholder="शीर्षक, विषय या शब्द लिखें…" autofocus><button>खोजें</button></form></section><section class="shell news-grid"><% articles.forEach(a=>{ %><article class="news-card"><a href="/news/<%= a.slug %>"><% if(a.image_url){%><div class="thumb"><img src="<%= a.image_url %>" alt="<%= a.title %>"></div><%}%><h3><%= a.title %></h3><p><%= a.excerpt||'' %></p></a></article><% }) %></section><% if(q&&!articles.length){ %><p class="shell">इस खोज की कोई खबर नहीं मिली। कोई दूसरा शब्द लिखें।</p><% } %><% if(typeof page!=='undefined'&&q){ %><nav class="shell pagination"><% if(page>1){ %><a href="/search?q=<%= encodeURIComponent(q) %>&page=<%= page-1 %>">← पिछला</a><% } %><span>पन्ना <%= page %></span><% if(hasMore){ %><a href="/search?q=<%= encodeURIComponent(q) %>&page=<%= page+1 %>">अगला →</a><% } %></nav><% } %><%- include('partials/footer' ,{site}) %>
