diff --git a/app/assets/javascripts/discourse/templates/tags.hbs b/app/assets/javascripts/discourse/templates/tags.hbs
index c355c1f3bd5..471f92ae13c 100644
--- a/app/assets/javascripts/discourse/templates/tags.hbs
+++ b/app/assets/javascripts/discourse/templates/tags.hbs
@@ -1,11 +1,3 @@
-{{#d-section pageClass="tags"}}
-
-{{/d-section}}
+{{#d-section pageClass="tags" tagName=""}}
+ {{outlet}}
+{{/d-section}}
\ No newline at end of file
diff --git a/app/assets/javascripts/discourse/templates/tags/show.hbs b/app/assets/javascripts/discourse/templates/tags/show.hbs
index 1196908497b..7d2f6578403 100644
--- a/app/assets/javascripts/discourse/templates/tags/show.hbs
+++ b/app/assets/javascripts/discourse/templates/tags/show.hbs
@@ -4,6 +4,7 @@
+
{{#if tagNotification}}
{{#unless additionalTags}}
{{tag-notifications-button action="changeTagNotification"
@@ -11,10 +12,10 @@
{{/unless}}
{{/if}}
- {{#if showAdminControls}}
- {{d-button action="deleteTag" icon="trash-o" class="admin-tag btn-danger"}}
- {{d-button action="renameTag" actionParam=tag icon="pencil" class="admin-tag"}}
- {{/if}}
+ {{#if showAdminControls}}
+ {{d-button action="deleteTag" icon="trash-o" class="admin-tag btn-danger"}}
+ {{d-button action="renameTag" actionParam=tag icon="pencil" class="admin-tag"}}
+ {{/if}}
{{create-topic-button
canCreateTopic=canCreateTopic
@@ -40,35 +41,42 @@
{{/each}}
{{/if}}
+
{{plugin-outlet name="discovery-list-container-top"}}
+
+
+
+
+ {{conditional-loading-spinner condition=loading}}
-{{conditional-loading-spinner condition=loading}}
+ {{#unless loading}}
+ {{#if list.topics}}
+ {{#discovery-topics-list model=list refresh="refresh"}}
+ {{bulk-select-button selected=selected action="refresh"}}
-{{#unless loading}}
- {{#if list.topics}}
- {{#discovery-topics-list model=list refresh="refresh"}}
- {{bulk-select-button selected=selected action="refresh"}}
-
- {{topic-list topics=list.topics
- canBulkSelect=canBulkSelect
- toggleBulkSelect="toggleBulkSelect"
- bulkSelectEnabled=bulkSelectEnabled
- selected=selected
- showPosters=true
- order=order
- ascending=ascending
- changeSort="changeSort"}}
-
- {{/discovery-topics-list}}
- {{else}}
-
- {{/if}}
-{{/unless}}
+ {{topic-list topics=list.topics
+ canBulkSelect=canBulkSelect
+ toggleBulkSelect="toggleBulkSelect"
+ bulkSelectEnabled=bulkSelectEnabled
+ selected=selected
+ showPosters=true
+ order=order
+ ascending=ascending
+ changeSort="changeSort"}}
+ {{/discovery-topics-list}}
+ {{else}}
+
+ {{/if}}
+ {{/unless}}
+
+
+
+