summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/search.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-05 09:42:46 +0200
committerDanilo M. <danix@danix.xyz>2026-04-05 09:42:46 +0200
commit86315cada2d2d37c93bd41869aedc92db0f36363 (patch)
tree304d0c351e2971ad99be73ca6908cd6f78159d43 /layouts/shortcodes/search.html
parent7de9682e8f3d6a1a6819c1a26c332ff72dbeaaa4 (diff)
downloaddanixxyz-theme-86315cada2d2d37c93bd41869aedc92db0f36363.tar.gz
danixxyz-theme-86315cada2d2d37c93bd41869aedc92db0f36363.zip
feat: import all remaining shortcodes from previous theme
Added 11 additional shortcodes with complete documentation: Text formatting: - strike: strikethrough text - em: highlighted/marked text - dropcap: paragraph with decorative drop cap Container wrappers: - div / div-close: semantic div containers with classes Gallery: - gallery: gallery container - gal-img: gallery images (400px WebP thumbnail with link) Utility: - svg: inline SVG icons from assets/SVGs/ - actions: button-style action links - search: search form with results display - contact: comprehensive contact form All shortcodes now fully documented in CONTENT_GUIDE with usage examples and parameters. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/shortcodes/search.html')
-rw-r--r--layouts/shortcodes/search.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/shortcodes/search.html b/layouts/shortcodes/search.html
new file mode 100644
index 0000000..784c598
--- /dev/null
+++ b/layouts/shortcodes/search.html
@@ -0,0 +1,22 @@
+<p class="error message js-hidden">{{ i18n "js_required" }}</p>
+<p class="search-loading status message hidden">{{ i18n "search_loading" }}</p>
+
+<div class="search-input hidden">
+ <form id="search-form" class="search-form" action="#" method="post" accept-charset="UTF-8" role="search">
+ <label for="query" class="visually-hidden">{{ i18n "search_title" }}</label>
+ <input type="search" id="query" name="query" class="search-text" placeholder="{{ i18n "search_placeholder" }}" maxlength="128">
+ <button type="submit" name="submit" class="form-submit" >{{ i18n "search_title" }}</button>
+ </form>
+</div>
+
+<div class="search-results"></div>
+
+<template>
+ <article class="search-result list-view">
+ <header>
+ <h2 class="title title-submitted"><a href="#">Title here</a></h2>
+ <div class="submitted"><time class="created-date">Date here</time></div>
+ </header>
+ <div class="content">Summary here</div>
+ </article>
+</template>