Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get current link #31

Open
karinakozarova opened this issue Nov 28, 2018 · 1 comment
Open

get current link #31

karinakozarova opened this issue Nov 28, 2018 · 1 comment

Comments

@karinakozarova
Copy link

Can jinja templates be used for sharing? For example I want when I do this:

{% post_to_facebook "{{ event.slug }}" "Post to Facebook!" %}

the "{{ event.slug }}" to not be put as text in the url but as the value it holds

@fcurella
Copy link
Owner

fcurella commented Nov 30, 2018

Hi @karinakozarova

Try not quoting the event.slug variable, this way:

{% post_to_facebook event.slug "Post to Facebook!" %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants