Skip to content

Commit 6b6c49c

Browse files
committed
Adding disqus to tutorials and vandv
1 parent 1311d68 commit 6b6c49c

File tree

4 files changed

+57
-0
lines changed

4 files changed

+57
-0
lines changed

_layouts/tutorials.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,33 @@
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 %}
40+
1441
<p class="text-center">
1542
<br />
1643
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">

_layouts/vandv.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,34 @@
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 %}
40+
41+
1442
<p class="text-center">
1543
<br />
1644
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">

_tutorials/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: The SU2 Tutorial Collection
33
permalink: /tutorials/home/
44
redirect_from: /tutorials/index.html
5+
disable_comments: true
56
---
67

78
## Getting started with SU2

_vandv/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: The SU2 V&V Collection
33
permalink: /vandv/home/
44
redirect_from: /vandv/index.html
5+
disable_comments: true
56
---
67

78
The case studies presented in this section demonstrate the verification and validation (V&V) of the solvers within the SU2 suite. Verification activities assess whether a particular model has been implemented correctly in software, i.e., it is coded as specified and bug-free. Validation activities assess whether a particular model matches the physical reality for a situation of interest, typically via comparison with experiment.

0 commit comments

Comments
 (0)