-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update theme to be compatible with pst~=0.13 (#3)
* Update version to match major.minor in pst * Update publish action * update edit_this_page to pst 0.13 * Update versions of dependencies * update edit page button condition
- Loading branch information
1 parent
2f7430f
commit 8ddc57a
Showing
4 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
{% if sourcename is defined and page_source_suffix and "generated" not in sourcename %} | ||
{% set src = sourcename.split('.') %} | ||
<div class="tocsection editthispage"> | ||
<a href="{{ get_edit_url() }}"> | ||
<i class="fas fa-pencil-alt"></i> {{ _("Edit this page") }} | ||
{% set src = sourcename.split('.') %} | ||
<div class="tocsection editthispage"> | ||
<a href="{{ get_edit_provider_and_url()[1] }}"> | ||
<i class="fa-solid fa-pencil"></i> | ||
{% set provider = get_edit_provider_and_url()[0] %} | ||
{% block edit_this_page_text %} | ||
{% if provider %} | ||
{% trans provider=provider %}Edit on {{ provider }}{% endtrans %} | ||
{% else %} | ||
{% trans %}Edit{% endtrans %} | ||
{% endif %} | ||
{% endblock %} | ||
</a> | ||
</div> | ||
</div> | ||
{% endif %} |