Skip to content

Instantly share code, notes, and snippets.

@jenlampton
Forked from joelpittet/gist:742f9ee5c9c6ac41c39e
Last active December 19, 2015 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jenlampton/4c7091f29b15f879aec5 to your computer and use it in GitHub Desktop.
Save jenlampton/4c7091f29b15f879aec5 to your computer and use it in GitHub Desktop.
{# Real-world examples where we will be using this in Drupal 8 #}
{# Converts to t() #}
{% trans %}
Submitted by {{ author.name }} on {{ published_date|format_date('medium') }}
{% endtrans %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment