forked from github/pelican
This replaces all `http://` and `//:` links with `https:`. The protocol- relative URL scheme is now deemed to be an anti-pattern. There are security advantages to using HTTPS, and there are no significant performance concerns. In short, if the asset we need is available via HTTPS, then that asset should always be loaded via HTTPS. Fixes #1736
9 lines
449 B
HTML
9 lines
449 B
HTML
{% if GITHUB_URL %}
|
|
<a href="{{ GITHUB_URL }}">
|
|
{% if GITHUB_POSITION != "left" %}
|
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
|
{% else %}
|
|
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
|
|
{% endif %}
|
|
</a>
|
|
{% endif %}
|