Fix if "edit_on_github" parameter isn't set
Dieser Commit ist enthalten in:
Ursprung
e9cd1e3c27
Commit
5a1324be7d
@ -8,7 +8,7 @@
|
||||
<?= date("l, F j, Y g:i A", $page['modified_time']); ?>
|
||||
</span>
|
||||
<?php } ?>
|
||||
<?php if ($params['html']['edit_on_github']) { ?>
|
||||
<?php if (array_key_exists('edit_on_github', $params['html']) && $params['html']['edit_on_github']) { ?>
|
||||
<span style="float: right; font-size: 10px; color: gray;">
|
||||
<a href="https://github.com/<?= $params['html']['edit_on_github'] ?>/<?= $page['relative_path'] ?>" target="_blank">Edit on GitHub</a>
|
||||
</span>
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren