templates/content/default.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/layout.html.twig' %}
  2. {#{% set link1 = '<a href="javascript:alert(\'aaa\');"><h1>Click to Open</h1></a>' %}#}
  3. {% block content %}
  4.     <script>
  5.         function directOpen(){
  6.         }
  7.     </script>
  8.     <div id="main-content" class="main-content" >
  9. {#        {{ link1|raw }}#}
  10.         <a style="margin-top: 200px;" href="javascript:directOpen();"><h1>Click to Open</h1></a>
  11.         {% if document.getTitle() is empty %}
  12.             {% do pimcore_head_title(pimcore_input('headline').getData(), 'PREPEND') %}
  13.         {% endif %}
  14.         <div class="page-header">
  15.             <h1>{{ pimcore_input('headline', {'placeholder':'Headline'}) }}</h1>
  16.         </div>
  17.         <div class="page-header">
  18.             <h1>{{ pimcore_input('headlinex', {
  19.                     required: true
  20.                 }) }}</h1>
  21.         </div>
  22.         {{ pimcore_areablock('content', {
  23.             'allowed': ['blockquote', 'embed', 'featurette', 'gallery-carousel', 'gallery-folder',
  24.                 'gallery-single-images', 'headlines', 'horizontal-line', 'icon-teaser-row', 'image',
  25.                 'image-hotspot-marker', 'image-metadata', 'pdf', 'product-grid', 'product-teaser', 'standard-teaser', 'text-accordion',
  26.                 'time-slider-featurette', 'video', 'wysiwyg', 'wysiwyg-with-images', 'personalized-product-teaser']
  27.         }) }}
  28.     </div>
  29. {% endblock %}