Permalink
Browse files

add additions & deletions to log

  • Loading branch information...
stevekrouse committed Dec 18, 2017
1 parent 847e7ab commit 051ba484935a31aeddc382d5fb356b76c0abd1a4
Showing with 12 additions and 3 deletions.
  1. +1 −1 _data/git-log.json
  2. +11 −2 log.md
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
13 log.md
@@ -19,12 +19,17 @@ title: Log
font-style: italic;
}
.commit > .files {
color: rgb(255,169,77);
margin-bottom: 5px;
}
.hash {
font-size: 15px;
}
.additions {
color: rgb(81,207,102);
}
.deletions {
color: rgb(250,82,82);
}
</style>
<h1 id="title">Log</h1>
@@ -51,7 +56,11 @@ The data for this page is pulled from the commit message history for this reposi
{% for change in commit.changes %}
{% if change[2] != '_data/git-log.json' %}
<div class="file">
edited: <a target="_blank" href="https://github.com/stevekrouse/futureofcoding.org/blob/{{commit.commit}}/{{change[2]}}">{{change[2]}}</a>
<span class="additions">{{change[0]}} additions</span> &
<span class="deletions">{{change[1]}} deletions</span>
<a target="_blank" href="https://github.com/stevekrouse/futureofcoding.org/blob/{{commit.commit}}/{{change[2]}}">
{{change[2]}}
</a>
</div>
{% endif %}
{% endfor %}

0 comments on commit 051ba48

Please sign in to comment.