Skip to content

Instantly share code, notes, and snippets.

View dylanblanchard's full-sized avatar
🍕
Just eatin'

Dylan Blanchard dylanblanchard

🍕
Just eatin'
View GitHub Profile
@cmod
cmod / hugofastsearch.md
Last active May 1, 2024 05:20 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator

Super fast, keyboard-optimized, client side Hugo search

This is a fork of and builds upon the work of Eddie Webb's search and Matthew Daly's search explorations.

It's built for the Hugo static site generator, but could be adopted to function with any json index compatible with Fuse fuzzy search library.

To see it in action, go to craigmod.com and press CMD-/ and start typing.

Fast Search

@alexmacdonell
alexmacdonell / tabs
Created June 21, 2012 13:01
How to use tabs in Shopify Minimal Theme
<!-- Standard <ul> with class of "tabs" -->
<ul class="tabs"><!-- Give href an ID value of corresponding "tabs-content" <li>'s -->
<li><a class="active" href="#tab1">Info</a></li>
<li><a href="#tab2">Specifications</a></li>
<li><a href="#tab3">Video</a></li>
</ul>
<!-- Standard <ul> with class of "tabs-content" -->
<ul class="tabs-content"><!-- Give ID that matches HREF of above anchors -->
<li class="active" id="tab1">