mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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:
parent
d9da2b08dd
commit
6c1ab2c560
1
themes/demo/meta/static-pages.yaml
Normal file
1
themes/demo/meta/static-pages.yaml
Normal file
@ -0,0 +1 @@
|
||||
static-pages: { }
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user