app/Resources/views/includes/ppcfg.html.twig line 1

Open in your IDE?
  1. <script>
  2.     var siteUrl = '{{ site_url }}';
  3.     var PPURL = '{{ absolute_url(path('homepage')) }}';
  4.     var POPURL = '{{ absolute_url(path('player')) }}';
  5.     const radioConfig = {{ radio_config|json_encode(constant('JSON_UNESCAPED_SLASHES'))|raw }};
  6.     const podcastConfig = {{ podcast_config|json_encode(constant('JSON_UNESCAPED_SLASHES'))|raw }};
  7.     const gaKey = '{{ "google_analytics_key"|get_option_value }}';
  8. </script>