Fix extension configs meta page to correctly handle multiple instance extensions like blog
This commit is contained in:
parent
5604fa1a8b
commit
fc20a761de
2 changed files with 28 additions and 16 deletions
|
@ -14,7 +14,7 @@
|
|||
<h1>Middleman Configuration</h1>
|
||||
|
||||
<p>This page shows the current configuration of your Middleman application.</p>
|
||||
|
||||
|
||||
<p>
|
||||
<a href="#core">Core configuration</a>
|
||||
| <a href="#extensions">Extensions</a>
|
||||
|
@ -32,10 +32,10 @@
|
|||
<% extension_config.each do |ext_name, configs| %>
|
||||
<li>
|
||||
<% registered_extensions.delete(ext_name) %>
|
||||
|
||||
<span class="extension active"><%= ext_name.inspect %></span>
|
||||
|
||||
|
||||
<span class="extension active">:<%= ext_name %></span>
|
||||
|
||||
|
||||
<% if configs && !configs.empty? %>
|
||||
<ul class="settings">
|
||||
<% configs.each do |setting| %>
|
||||
|
@ -55,5 +55,3 @@
|
|||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue