diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2021-02-12 20:24:11 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2021-02-12 20:24:11 +0300 |
commit | f55f4e7d56467fbcc2d6b40396dafdb866177bf3 (patch) | |
tree | d0ac6cbdb60158b385893091dff40f1e4c0544c3 /layouts | |
parent | 9dfde72da74c8932b963c0e186674c75ba1be15d (diff) |
Add missing script tags
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/comments.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/comments.html b/layouts/comments.html index 70110e4d..28101679 100644 --- a/layouts/comments.html +++ b/layouts/comments.html @@ -1,4 +1,5 @@ <% if production_and_default_branch? %> +<script type="text/javascript"> 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" %>'; @@ -21,4 +22,5 @@ window.loadDisqus = function() { (d.head || d.body).appendChild(s); } }; +</script> <% end %> |