File tree Expand file tree Collapse file tree 2 files changed +27
-9
lines changed Expand file tree Collapse file tree 2 files changed +27
-9
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3,19 +3,37 @@ title: Log
3
3
---
4
4
5
5
<style >
6
- .commit-header {
7
- font-size : 20px ;
6
+ .header {
7
+ font-size : 35px ;
8
+ font-weight : bold ;
9
+ }
10
+ #title {
11
+ font-size : 50px ;
12
+ }
13
+ .date {
14
+ font-size : 15px ;
15
+ color : #aaa ;
16
+ margin-right : 10px
8
17
}
9
18
</style >
10
19
11
- # Log
20
+ <h1 id =" title " >Log</h1 >
21
+
22
+ This log represents my progress on the Future of Coding project. I intend to update this log every weekday.
23
+
24
+ The data for this log are pulled from the commit message history for this repository.
12
25
13
26
<div id =" commits-container " >
14
- {% for commit in site.data.git-log %}
15
- <div >
16
- <div class="commit-header">{{ commit.committer.date }} - <a href="https://github.com/stevekrouse/futureofcoding.org/commit/{{ commit.commit }}">{{ commit.commit }}</a></div>
17
- <div class="commit-message">{{ commit.message | markdownify }}</div>
18
- </div >
27
+ {% for commit in site.data.git-log %}
28
+ {% if commit.message != 'updated git log' %}
29
+ {% unless commit.message contains 'Merge branch' %}
30
+ {% assign first_line = commit.message | newline_to_br | split: '<br />' | first %}
31
+ {% assign date = commit.committer.date | date_to_string | prepend: "_ " | append: "_ " %}
32
+ {% assign header = first_line | remove: "#" | prepend: '</span >' | prepend: date | prepend: '<span class =" header " ><span class =" date " >' | append: '</span >' %}
33
+ {% assign message = commit.message | remove_first: first_line | prepend: header %}
34
+ <div class =" commit " >{{ message | markdownify }}</div >
35
+ {% endunless %}
36
+ {% endif %}
19
37
{% endfor %}
20
38
</div >
21
39
You can’t perform that action at this time.
0 commit comments