Created
January 31, 2016 06:29
-
-
Save mturquette/a53ff247e0fc4e75c15c to your computer and use it in GitHub Desktop.
Show version history for GitHub Pages on every post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/_layouts/post.html b/_layouts/post.html | |
index a2b4e52..8acae45 100644 | |
--- a/_layouts/post.html | |
+++ b/_layouts/post.html | |
@@ -9,6 +9,7 @@ layout: default | |
</header> | |
<article class="post-content"> | |
+ <blockquote> <p>This article's version history <a href="https://github.com/mturquette/mturquette.github.com/commits/master/_posts/{{ page.id | slugify | append: ".md" }}">on GitHub</a></p></blockquote> | |
{{ content }} | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment