diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 86456f8..27bec33 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -57,6 +57,14 @@ layout: default {{ content }} </div> + {% if page.git_repo %} + <p class="light"> + <em>To check this project out locally:</em></br> + <pre><code>git clone {{ page.git_repo }} +{% if page.git_commit %}git checkout {{ page.git_commit }}{% endif %}</code></pre> + </p> + {% endif %} + {% if prev or next %} <p class="light"><em> This post is part of a series<br/> |