Fix project links on sidebar (closes #35)

This commit is contained in:
rtm516 committed 2022-05-15 15:58:15 +01:00
1 parent 26800288e5
commit 5e9281be8b
5 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<a href="{{ site.repo }}/edit/{% if site.github_branch %}{{ site.github_branch }}{% else %}master{% endif %}/{{ page.path }}" target="_blank"><i class="fa fa-edit fa-fw"></i> Edit this page</a>
<a href="{{ site.repo }}/issues/new?labels={% if page.editable %}{{ page.editable }}{% else %}question{% endif %}&title=Question:&body=Question on: {{ site.repo }}/tree/master/{{ page.path }}" target="_blank"><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
<a href="{{ site.repo }}/issues/new" target="_blank"><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
<a href="https://github.com/{{ site.github_user }}/{{ site.github_repo }}/issues/new" target="_blank"><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
<!-- this will parse through the header fields and add a button to open
an issue / ask a question on Github. The editable field should be in
the post frontend matter, and refer to the label to open the issue for -->
+1 -1
View File
@@ -16,7 +16,7 @@
</div>
<div class="navbar-nav d-none d-lg-block">
<a class="gh-source" data-gh-source="github" href="{{ site.repo }}" title="Go to repository" data-md-state="done">
<a class="gh-source" data-gh-source="github" href="https://github.com/{{ site.github_user }}/{{ site.github_repo }}" title="Go to repository" data-md-state="done">
<div class="gh-source__repository">
<i class="fab fa-github fa-2x" style='padding-right:20px; float:left; margin-top:5px'></i>
{{ site.github_user }}/{{ site.github_repo }}