mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-01 13:54:16 +01:00
8433e2253c
Also new website! We've got the version2 branch if people want to search in those files.
17 lines
557 B
HTML
17 lines
557 B
HTML
{% capture before %}{{ include.link[1] | split: "://" | first }}{% endcapture %}
|
|
{% capture after %}{{ include.link[1] | split: "://" | last }}{% endcapture %}
|
|
{% assign internal = true %}
|
|
{% if before != after %}
|
|
{% if before == "http" or before == "https" %}
|
|
{% assign internal = false %}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if internal %}
|
|
{% capture linkurl %}{{ site.baseurl }}/{{ include.link[1] }}{% endcapture %}
|
|
{% else %}
|
|
{% capture linkurl %}{{ include.link[1] }}{% endcapture %}
|
|
{% endif %}
|
|
|
|
<a href="{{ linkurl }}">{{ include.link[0] }}</a>
|