Skip to content

Commit c264357

Browse files
committed
Added disqus to docs v7 files
1 parent d30f81a commit c264357

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

_docs_v7/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: SU2, Multiphysics Simulation and Design Software
33
permalink: /docs_v7/home/
44
redirect_from: /docs_v7/index.html
5+
disable_comments: true
56
---
67
<p align="center">
78
<img src="../../docs_files/SU2_Color_NoBackground.png" alt="SU2 Logo"/>

_layouts/docs_v7.html

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,38 @@
1111
<div class="col-md-8">
1212
<h1>{{ page.title }}</h1>
1313
<div id="markdown-content-container">{{ content }}</div>
14+
<hr>
15+
{% unless page.disable_comments %}
16+
<script>
17+
18+
/**
19+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
20+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
21+
/*
22+
var disqus_config = function () {
23+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
24+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
25+
};
26+
*/
27+
(function() { // DON'T EDIT BELOW THIS LINE
28+
var d = document, s = d.createElement('script');
29+
s.src = 'https://su2code-github-io.disqus.com/embed.js';
30+
s.setAttribute('data-timestamp', +new Date());
31+
(d.head || d.body).appendChild(s);
32+
})();
33+
</script>
34+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
35+
36+
37+
<div id="disqus_thread"></div>
38+
<hr>
39+
{% endunless %}
1440
<p class="text-center">
1541
<br />
1642
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">
1743
<i class="fa fa-pencil fa-lg"></i> Improve this page
1844
</a>
1945
</p>
20-
<hr>
2146
{% include section_docs_v7_nav.html %}
2247
</div>
2348

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h3 class="text-center">A strong foundation.</h3>
9393

9494
<p>We are proud to announce the <a href="https://su2foundation.org">SU2 Foundation</a>, a new non-profit organization formed in the United States. The mission of the SU2 Foundation is to promote global software development and education to increase the pace of innovation in the engineering sciences for the benefit of all society.</p>
9595

96-
</div>
96+
</div>
9797

9898
<div class="col-md-6 text-center">
9999
<h1 class="text-center"><i class="fa fa-book" aria-hidden="true"></i></h1>

0 commit comments

Comments
 (0)