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

Made it work with the jekyll.environment #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iaminamcom
Copy link

Often we need to hide/show on the bases of jekyll built-in environment variable jekyll.environment like:

{% if jekyll.environment == 'production' %}
  <!-- Google Tag Manager -->
  <script>
    // .....
  </script>
{% endif %}

So this little adjustment worked really good for me and I thought better if you add it by default as some plugins also need jekyll environment.

Thanks!

@vercel
Copy link

vercel bot commented Jun 19, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/taylor/jekyll-starter-tailwind/5hgmTbhsMzo5v9PLER5PNXN4NjyD
✅ Preview: Failed

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

Successfully merging this pull request may close these issues.

1 participant