diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2021-02-12 19:31:01 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2021-02-12 19:34:16 +0300 |
commit | 7e9a260ec67441d862ac85a76ef52ef35d891852 (patch) | |
tree | 9051a7a12fc456024c7826b0514e5de425413e3f /layouts/feedback.html | |
parent | bf749319950c74ef601d71f012fd4b8f0de0c659 (diff) |
Make Disqus snippet appear inline
We have defined the Disqus snippet in an immutable file
(assets/javascripts/disqus.js), but the snippet needs to
be present in the HTML body in order to take the
right values (the disqus_identifier takes into account
the name of the file).
Diffstat (limited to 'layouts/feedback.html')
-rw-r--r-- | layouts/feedback.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/feedback.html b/layouts/feedback.html index 415d1d8d..5e6897a4 100644 --- a/layouts/feedback.html +++ b/layouts/feedback.html @@ -118,7 +118,7 @@ <div id="disqus_thread" class="disqus-comments-gitlab"></div> -<script src="<%= @items['/assets/javascripts/disqus.*'].path %>"></script> +<%= render '/comments.*' %> <script src="<%= @items['/frontend/feedback/feedback.*'].path %>"></script> <noscript >Please enable JavaScript to view the |