Skip to content

Instantly share code, notes, and snippets.

@adamfairholm
Forked from DominickV/gist:3700678
Created September 11, 2012 19:22
Show Gist options
  • Select an option

  • Save adamfairholm/3701261 to your computer and use it in GitHub Desktop.

Select an option

Save adamfairholm/3701261 to your computer and use it in GitHub Desktop.
Portfolio code pyro
{{streams:portfolio include="[segment_3]" include_by="{{ portfolio_link }}" limit="1" }}
<div class="post_title">
<img src="{{ portfolio_thumb:image }}" width="690px" alt="{{title}}" />
<h2><a href="{{ url:site }}/ons-werk/{{ portfolio_link }}">{{portfolio_client}}</a></h2>
</div>
<p class="intro">
{{ portfolio_description }}
</p>
<div class="meta">
{{ portfolio_servicesused }}
{{ key }} – {{ value }}
{{ /portfolio_servicesused }}
</div>
{{/streams:portfolio}}
{{ if {url:segments segment="2"} }}
// There is an ID in the URI, so show the correct entry:
{{ streams:portfolio include="[segment_2]" limit="1" }}
// Display entry code
{{ /streams:portfolio }}
{{ endif }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment