Skip to content

Instantly share code, notes, and snippets.

@donaldallen
Created August 22, 2012 18:43
Show Gist options
  • Save donaldallen/3428254 to your computer and use it in GitHub Desktop.
Save donaldallen/3428254 to your computer and use it in GitHub Desktop.
1. What I'd like to do, but doesn't work
<a href="{{ url:site uri="faq/{{ url:segments segment="1" default="" }}" }}">
2. My "solution" which feels kinda hacky:
<a href="{{ url:site }}faq/{{ url:segments segment="1" default="" }}">
@adamfairholm
Copy link

I don't think the solution seems hacky. It'll work fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment