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

Need a way to inject meta tags #45

Closed
daftspunk opened this issue May 12, 2014 · 7 comments
Closed

Need a way to inject meta tags #45

daftspunk opened this issue May 12, 2014 · 7 comments
Assignees

Comments

@daftspunk
Copy link
Member

We have

{% scripts %}
{% styles %}

Need to have

{% meta %}

TBA

@ChadStrat
Copy link
Contributor

+1

@fuzenco
Copy link

fuzenco commented May 16, 2014

+1

@daftspunk daftspunk self-assigned this Jun 30, 2014
@ghost
Copy link

ghost commented Jul 1, 2014

+1

3 similar comments
@coderdiaz
Copy link

+1

@Shahiem
Copy link

Shahiem commented Jul 2, 2014

+1

@EHLOVader
Copy link

+1

@daftspunk
Copy link
Member Author

Although this seems reasonable, we discussed it and think the pipe for meta tags is too generic and magical. To avoid ending up like Wordpress, things that require meta tags (Google Analytics, etc) should use a component to remain explicit.

Or if absolutely necessary, it is safe to assume {% styles %} will be contained in the <head> section and {% scripts %} will be there too, or in the footer. These areas can have content injected in them...

{% puts scripts %}
<script> alert('Hey, guy!'); </script>
{% endput %}

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

No branches or pull requests

6 participants