Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/feedback.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/feedback.html b/layouts/feedback.html
index 3f8a4de3c..859dcab17 100644
--- a/layouts/feedback.html
+++ b/layouts/feedback.html
@@ -221,8 +221,8 @@
var disqus_config = function () {
this.page.url = '<%= @config[:base_url] %><%= @item.identifier.without_ext + '.html' %>';
this.page.title = '<%= @item.key?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %>';
- <% if @item[:redirect_from] %>
- this.page.identifier = '<%= @item[:redirect_from] %>';
+ <% if @item[:disqus_identifier] %>
+ this.page.identifier = '<%= @item[:disqus_identifier] %>';
<% else %>
this.page.identifier = '<%= @config[:base_url] %><%= @item.identifier.without_ext + '.html' %>';
<% end %>