summaryrefslogtreecommitdiffstats
path: root/templates/includes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/includes')
-rw-r--r--templates/includes/book/exercise.html4
-rw-r--r--templates/includes/book/header.html8
-rw-r--r--templates/includes/book/summary.html8
3 files changed, 10 insertions, 10 deletions
diff --git a/templates/includes/book/exercise.html b/templates/includes/book/exercise.html
index 0b52656..1acbe79 100644
--- a/templates/includes/book/exercise.html
+++ b/templates/includes/book/exercise.html
@@ -20,5 +20,5 @@
<div class="btn-group btn-group-justified">
<a href="#" class="btn btn-default action-submit">Submit</a>
<a href="#" class="btn btn-default action-solution">Solution</a>
- <a href="https://github.com/{{ githubId }}/issues/new" target="_blank" class="btn btn-default">Have a Question?</a>
-</div> \ No newline at end of file
+ <a href="{{ githubHost }}{{ githubId }}/issues/new" target="_blank" class="btn btn-default">Have a Question?</a>
+</div>
diff --git a/templates/includes/book/header.html b/templates/includes/book/header.html
index 71dbbdb..d3baf1d 100644
--- a/templates/includes/book/header.html
+++ b/templates/includes/book/header.html
@@ -1,6 +1,6 @@
<div class="book-header">
<!-- Actions Left -->
- <a href="https://github.com/{{ githubId }}" target="_blank" class="btn pull-left"><i class="fa fa-github-alt"></i></a>
+ <a href="{{ githubHost }}{{ githubId }}" target="_blank" class="btn pull-left"><i class="fa fa-github-alt"></i></a>
<a href="#" class="btn pull-left toggle-summary"><i class="fa fa-align-justify"></i></a>
<!-- Actions Right -->
@@ -8,10 +8,10 @@
<a href="#" target="_blank" class="btn pull-right" data-sharing="facebook"><i class="fa fa-facebook"></i></a>
<a href="#" target="_blank" class="btn pull-right" data-sharing="twitter"><i class="fa fa-twitter"></i></a>
- <a href="https://github.com/{{ githubId }}/stargazers" target="_blank" class="btn pull-right count-star"><i class="fa fa-star-o"></i> Star (<span>-</span>)</a>
- <a href="https://github.com/{{ githubId }}/watchers" target="_blank" class="btn pull-right count-watch"><i class="fa fa-eye"></i> Watch (<span>-</span>)</a>
+ <a href="{{ githubHost }}{{ githubId }}/stargazers" target="_blank" class="btn pull-right count-star"><i class="fa fa-star-o"></i> Star (<span>-</span>)</a>
+ <a href="{{ githubHost }}{{ githubId }}/watchers" target="_blank" class="btn pull-right count-watch"><i class="fa fa-eye"></i> Watch (<span>-</span>)</a>
<!-- Title -->
<h1><a href="{{ basePath }}/README.html" >{{ title }}</a></h1>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/includes/book/summary.html b/templates/includes/book/summary.html
index c3ab46d..d74fb18 100644
--- a/templates/includes/book/summary.html
+++ b/templates/includes/book/summary.html
@@ -1,13 +1,13 @@
<div class="book-summary">
<ul class="summary">
<li>
- <a href="https://github.com/{{ githubAuthor }}" target="blank">About the author</a>
+ <a href="{{ githubHost }}{{ githubAuthor }}" target="blank">About the author</a>
</li>
<li>
- <a href="https://github.com/{{ githubId }}/issues" target="blank">Questions and Issues</a>
+ <a href="{{ githubHost }}{{ githubId }}/issues" target="blank">Questions and Issues</a>
</li>
<li>
- <a href="https://github.com/{{ githubId }}/edit/master/{{ _input }}" target="blank">Edit and Contribute</a>
+ <a href="{{ githubHost }}{{ githubId }}/edit/master/{{ _input }}" target="blank">Edit and Contribute</a>
</li>
<li class="divider"></li>
<li data-level="0">
@@ -40,4 +40,4 @@
</li>
{% endfor %}
</ul>
-</div> \ No newline at end of file
+</div>