Skip to content

Instantly share code, notes, and snippets.

@farrelley
Created December 9, 2012 18:29
Show Gist options
  • Save farrelley/4246384 to your computer and use it in GitHub Desktop.
Save farrelley/4246384 to your computer and use it in GitHub Desktop.
# Page
---
layout: xyz
title: Test Post
some_id: ABC
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
# template
---
layout: layout
---
<div class="span12">
<div class="span6">
{{ content }}
</div>
<div class="span6">
{% assign this_variable = page.some_id %}
{% liquid_tag_plugin this_variable %}
</div>
</div>
# When I write out the variable in the plugin i was hoping to get ABC but I am getting this_variable. Is there a way to pass in a Page Variable into the template that calls a Liquid Tag Plugin?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment