File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
# --- Site Settings ---
11
11
12
- # Github url
13
- github_url : https://github.com/CodingTrain/website
14
-
15
12
# The site's title.
16
13
title : The Coding Train // Code Repository
17
14
Original file line number Diff line number Diff line change 55
55
{% capture live_example_url %}/{{ page.collection }}{{ page.live_example | default: page.repository }}{% endcapture %}
56
56
57
57
< div class ="code-actions ">
58
- < a href ="{% if page.repository == false %}#{% else %}{{ site.github_url | append: '/tree/master/' | append: page.collection | append: page.repository }}{% endif %} " target ="blank " class ="{% if page.repository == false %}disabled{% endif %} "> View Code</ a >
58
+ < a href ="{% if page.repository == false %}#{% else %}{{ site.github.repository_url | append: '/tree/master/' | append: page.collection | append: page.repository }}{% endif %} " target ="blank " class ="{% if page.repository == false %}disabled{% endif %} "> View Code</ a >
59
59
< a href ="{% if page.repository == false %}#{% else %}{{ site.github_download_prefix | append: site.github.repository_url | append: '/tree/' | append: site.github.source.branch | append: '/' | append: page.collection | append: page.repository }}{% endif %} " target ="blank " class ="{% if page.repository == false %}disabled{% endif %} "> Download Code</ a >
60
60
< a href ="{% if page.live_example == false %}#{% else %}{{ live_example_url | relative_url }}{% endif %} " target ="blank " class ="{% if page.live_example == false %}disabled{% endif %} "> Live Example</ a >
61
61
</ div >
You can’t perform that action at this time.
0 commit comments