Sha256: 3757da0c3845e3f01833363453945f77a63939de791a9a66ec321ccd847e8ba3

Contents?: true

Size: 1.97 KB

Versions: 2

Compression:

Stored size: 1.97 KB

Contents

<!DOCTYPE html>
<%= content_tag(:html, lang: @entry.locale) do %>
  <head>
    <title><%= pretty_entry_title(@entry) %></title>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">


    <%= social_share_meta_tags_for(@entry) %>
    <%= meta_tags_for_entry(@entry) %>

    <%= scrolled_favicons_for_entry(@entry, entry_mode: @widget_scope) %>

    <%= javascript_include_tag 'pageflow_scrolled/legacy' %>
    <%= scrolled_frontend_stylesheet_packs_tag(@entry, widget_scope: @widget_scope) %>

    <%= scrolled_theme_properties_style_tag(@entry.theme) %>
    <%= scrolled_theme_stylesheet_pack_tags(@entry.theme) %>

    <%= render_widget_head_fragments(@entry, scope: @widget_scope) %>

    <% if Rails.env.development? %>
      <script>
        try {
          if (window.top !== window) {
            window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
          }
        } catch (e) {
          console.warn('unable to connect to top frame for connecting dev tools');
        }
      </script>
    <% end %>

    <% ssr_html = @skip_ssr ? '' : render_scrolled_entry(@entry) %>

    <% if !@skip_ssr && (params[:frontend] == 'v2' || @entry.feature_state('frontend_v2')) %>
      <%= generated_media_queries_tags_for(ssr_html) %>
    <% end %>
  </head>
  <body>
    <%= structured_data_for_entry(@entry) unless @skip_structured_data %>

    <%= render 'pageflow_scrolled/entries/global_notices' %>

    <div id="fullscreenRoot"></div>
    <div id="root"><%= ssr_html %></div>

    <div id='template-widget-container'>
      <%= render_widgets(@entry, scope: @widget_scope, insert_point: :bottom_of_entry) %>
    </div>

    <%= scrolled_webpack_public_path_script_tag %>
    <%= scrolled_frontend_javascript_packs_tag(@entry, widget_scope: @widget_scope) %>

    <%= scrolled_entry_json_seed_script_tag(@entry, @seed_options || {}) %>
  </body>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-16.0.0 entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb
pageflow-15.8.0 entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb