File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -21,15 +21,18 @@ title: Log
21
21
22
22
This log represents my progress on the Future of Coding project. I intend to update this log every weekday.
23
23
24
- The data for this log are pulled from the commit message history for this repository.
24
+ The data for this log are pulled from the commit message history for this repository. < a href = " ' | prepend: link | prepend: ' " >'
25
25
26
26
<div id =" commits-container " >
27
27
{% for commit in site.data.git-log %}
28
28
{% if commit.message != 'updated git log' %}
29
29
{% unless commit.message contains 'Merge branch' %}
30
30
{% assign first_line = commit.message | newline_to_br | split: '<br />' | first %}
31
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 >' %}
32
+ {% assign link = 'https://github.com/stevekrouse/futureofcoding.org/commit/ ' | append: commit.commit %}
33
+ {% assign date_span = '<span class =" date " >' | append: date | append: '</span >' %}
34
+ {% assign first_line_span = '<a href =" ' | append: link | append: ' " >' | append: first_line | remove: "#" | append: '</a >' %}
35
+ {% assign header = '<span class =" header " >' | append: date_span | append: first_line_span | append: '</span >' %}
33
36
{% assign message = commit.message | remove_first: first_line | prepend: header %}
34
37
<div class =" commit " >{{ message | markdownify }}</div >
35
38
{% endunless %}
You can’t perform that action at this time.
0 commit comments