diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/includes/book/exercise.html | 4 | ||||
-rw-r--r-- | templates/includes/book/header.html | 8 | ||||
-rw-r--r-- | templates/includes/book/summary.html | 8 | ||||
-rw-r--r-- | templates/layout.html | 6 |
4 files changed, 13 insertions, 13 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> diff --git a/templates/layout.html b/templates/layout.html index 8d2a02f..c0f52cb 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -24,9 +24,9 @@ <meta property="og:type" content="book"> <meta property="og:locale" content="en_US"> - <meta property="book:author" content="https://github.com/{{ githubAuthor }}"> + <meta property="book:author" content="{{ githubHost }}{{ githubAuthor }}"> <meta property="book:tag" content="GitBook"> - + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> @@ -48,4 +48,4 @@ <script src="{{ staticBase }}/jsrepl/jsrepl.js" id="jsrepl-script"></script> <script src="{{ staticBase }}/app.js"></script> </body> -</html>
\ No newline at end of file +</html> |