Open the backend from the demo theme in the same window

Previous code breaks embedded demos like https://www.softaculous.com/softaculous/demos/WinterCMS
This commit is contained in:
Luke Towers 2021-08-24 15:04:06 -06:00
parent d9da2b08dd
commit 6c1ab2c560
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
static-pages: { }

View File

@ -22,7 +22,7 @@ function onStart()
<li class="{% if this.page.id == 'home' %}active{% endif %}"><a href="{{ 'home'|page }}">Basic concepts</a></li>
<li class="{% if this.page.id == 'ajax' %}active{% endif %}"><a href="{{ 'ajax'|page }}">AJAX framework</a></li>
<li class="{% if this.page.id == 'plugins' %}active{% endif %}"><a href="{{ 'plugins'|page }}">Plugin components</a></li>
<li><a href="{{ backendUrl }}" target="backend">Sign in to the Backend</a></li>
<li><a href="{{ backendUrl }}">Sign in to the Backend</a></li>
</ul>
</div>
</div>