Skip to content

Commit

Permalink
Added button without github functionality yet
Browse files Browse the repository at this point in the history
  • Loading branch information
doublevcodes committed May 18, 2021
1 parent ffb7af7 commit 1b99709
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pydis_site/templates/content/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,17 @@
<section class="section">
<div class="container">
<div class="content">
<h1 class="title">{{ page_title }}</h1>
<div class="is-flex" style="justify-content: space-between;">
<h1 class="title is-flex">{{ page_title }}</h1>
{# TODO: Bikeshed the button design #}
<button class="button is-flex is-pulled-right is-primary is-light">
{# TODO: Make it load the Github page instead of reloading the page #}
<a href="{{ request.build_absolute_uri }}">
<i class="fab fa-github mr-2"></i>
<b> Edit on GitHub</b>
</a>
</button>
</div>
{% block page_content %}{% endblock %}
</div>
</div>
Expand Down

0 comments on commit 1b99709

Please sign in to comment.