about summary refs log tree commit diff
path: root/app/views/home/index.html.haml
blob: 0147f4064b943e299337e7216ba2457973212541 (plain) (blame)
1
2
3
4
5
6
7
- content_for :header_tags do
  :javascript
    window.INITIAL_STATE = #{json_escape(render(file: 'home/initial_state', formats: :json))}

  = javascript_include_tag 'application'

= react_component 'Mastodon', default_props, class: 'app-holder', prerender: false