Skip to content

Commit 3d96a51

Browse files
authored
Merge pull request #122 from gvwilson/commenting-includes
Adding comments on purposes of include files
2 parents f5d8968 + b357f4e commit 3d96a51

8 files changed

+24
-2
lines changed

_includes/carpentries.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
General description of Software and Data Carpentry.
3+
{% endcomment %}
14
<div class="row">
25
<div class="col-md-2" align="center">
36
<a href="{{ site.swc_site }}"><img src="{{ page.root }}/assets/img/swc-icon-blue.svg" alt="Software Carpentry logo" /></a>
@@ -23,5 +26,3 @@
2326
building on learners' existing knowledge to enable them to quickly apply skills learned to their own research.
2427
</div>
2528
</div>
26-
27-

_includes/episode_keypoints.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
Display key points for an episode.
3+
{% endcomment %}
14
<blockquote class="keypoints">
25
<h2>Key Points</h2>
36
<ul>

_includes/javascript.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
Javascript used in lesson and workshop pages.
3+
{% endcomment %}
14
<script src="{{ page.root }}/assets/js/jquery.min.js"></script>
25
<script src="{{ page.root }}/assets/js/bootstrap.min.js"></script>
36
<script src="{{ page.root }}/assets/js/lesson.js"></script>

_includes/lesson_footer.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
Footer for lesson pages.
3+
{% endcomment %}
14
<footer>
25
<div class="row">
36
<div class="col-md-6" align="left">

_includes/main_title.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
{% comment %}
2+
Main title for lesson pages.
3+
{% endcomment %}
14
<h1 class="maintitle"><a href="{{ page.root }}/">{{ site.title }}</a>{% if page.title %}: {{ page.title }}{% endif %}</h1>

_includes/navbar.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
Lesson navigation bar.
3+
{% endcomment %}
14
<nav class="navbar navbar-default">
25
<div class="container-fluid">
36
<div class="navbar-header">

_includes/workshop_ad.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
Advertising box at the top of a workshop website home page.
3+
{% endcomment %}
14
<div class="jumbotron">
25
<div class="row">
36
<div class="col-md-10 col-md-offset-1">

_includes/workshop_footer.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% comment %}
2+
Footer for a standard workshop.
3+
{% endcomment %}
14
<footer>
25
<div class="row">
36
<div class="col-md-6" align="left">

0 commit comments

Comments
 (0)