Skip to content

Instantly share code, notes, and snippets.

{"version":1,"resource":"file:///Users/antpro16/dev/www/dirtworxtraining/site/settings/fieldsets/globals/globals-nav.yaml","entries":[{"id":"aOs3.yaml","timestamp":1649998155970}]}
Process: 3D Issue [6619]
Path: /Applications/3D Issue 7.0/3D Issue.app/Contents/MacOS/3D Issue
Identifier: com.trinityinnovations.3DIssue
Version: 7.0.4 (7.0.4.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: 3D Issue [6619]
User ID: 501
@anthubbard
anthubbard / Statamic Lightbox Transform Tag Code
Last active December 24, 2015 22:59
Statamic Lightbox dynamic gallery using image transform tag
{{ entries:listing from="gallery" limit="10" }}
<a class="thumbnail" href="{{ transform src="{{ img }}" width="900" height="600" action="resize" }}">
<img src="{{ transform src="{{ img }}" width="140" height="140" action="smart" }}" />
</a>
{{ /entries:listing }}
@anthubbard
anthubbard / Statamic dropdown nav example
Created August 8, 2013 22:58
Statamic dropdown nav example
<ul class="nav">
<li><a href="{{ homepage }}"{{ if !segment_1 }} class="current"{{ endif }}>Home</a></li>
{{ nav from="/" max_depth="2" exclude="settings|colophon|message|service-area|sitemap" }}
<li><a href="{{ url }}"{{ if is_current || is_parent }} class="current">{{ title }} </a>
{{ if children }}
<ul class="dropdown-menu">
{{ children }}
<li><a href="{{ url }}"{{ if is_current }} class="current-child"{{ endif }}>{{ title }}</a></li>
{{ /children }}
</ul>