maglev
WebsiteGithub
  • Introduction
  • Quick start
  • Concepts
    • Overview
    • Site
    • Theme
    • Page
    • Section
    • Setting
    • Block
  • Guides
    • Create a new section
    • Setup collections
    • Personalize the editor
    • Setup multiple languages
    • Secure the editor
    • Build a menu section
    • Render a section outside the Maglev layout
    • Use an icon library
    • Upgrades
    • Troubleshooting
  • Integrations
    • Avo
  • Pro
    • Introduction
    • Getting started
Powered by GitBook
On this page

Was this helpful?

  1. Guides

Upgrades

From 1.0.x to 1.1.x

The layout of your theme must now include an additional Javascript file in the HTML header. This file is in charge of the communication between any page of the theme and the Maglev Editor UI.

<!DOCTYPE html>
<html>
<head>
  <title><%= maglev_page.seo_title.presence || maglev_site.name %></title>
  
  ....  

  <%= maglev_live_preview_client_javascript_tag %>

  ....
PreviousUse an icon libraryNextTroubleshooting

Last updated 1 year ago

Was this helpful?