|
|
|
@ -28,10 +28,12 @@ |
|
|
|
|
<footer> |
|
|
|
|
{% if config.extra.forge %} |
|
|
|
|
<aside class="source"> |
|
|
|
|
{% if lang %}{% set translated = trans(key="source", lang=lang) %} |
|
|
|
|
{% else %}{% set translated = trans(key="source") %}{% endif %} |
|
|
|
|
{% if section %} |
|
|
|
|
<a href="{{ config.extra.forge.browse }}content/{{ section.path }}_index.md">Source</a> |
|
|
|
|
<a href="{{ config.extra.forge.browse }}content/{{ section.path }}_index.md">{{ translated }}</a> |
|
|
|
|
{% else %} |
|
|
|
|
<a href="{{ config.extra.forge.browse }}content/{{ page.path }}index.md">Source</a> |
|
|
|
|
<a href="{{ config.extra.forge.browse }}content/{{ page.path }}index.md">{{ translated }}</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</aside> |
|
|
|
|
{% endif %} |
|
|
|
|