Skip to content

Commit

Permalink
Adding disqus to tutorials and vandv
Browse files Browse the repository at this point in the history
  • Loading branch information
talbring committed Nov 27, 2019
1 parent 1311d68 commit 6b6c49c
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
27 changes: 27 additions & 0 deletions _layouts/tutorials.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,33 @@
<div class="col-md-8">
<h1>{{ page.title }}</h1>
<div id="markdown-content-container">{{ content }}</div>
<hr>
{% unless page.disable_comments %}
<script>

/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://su2code-github-io.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>


<div id="disqus_thread"></div>
<hr>
{% endunless %}

<p class="text-center">
<br />
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">
Expand Down
28 changes: 28 additions & 0 deletions _layouts/vandv.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,34 @@
<div class="col-md-8">
<h1>{{ page.title }}</h1>
<div id="markdown-content-container">{{ content }}</div>
<hr>
{% unless page.disable_comments %}
<script>

/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://su2code-github-io.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>


<div id="disqus_thread"></div>
<hr>
{% endunless %}


<p class="text-center">
<br />
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">
Expand Down
1 change: 1 addition & 0 deletions _tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: The SU2 Tutorial Collection
permalink: /tutorials/home/
redirect_from: /tutorials/index.html
disable_comments: true
---

## Getting started with SU2
Expand Down
1 change: 1 addition & 0 deletions _vandv/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: The SU2 V&V Collection
permalink: /vandv/home/
redirect_from: /vandv/index.html
disable_comments: true
---

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.
Expand Down

0 comments on commit 6b6c49c

Please sign in to comment.