summaryrefslogtreecommitdiffstats
path: root/templates/html/htmlobjlink.tpl
blob: 51a281f763babbe7f928e43584c8bc1267207625 (plain)
1
2
3
4
5
6
{# inputs: obj (with .isLinkable .anchor .fileName), text, config, page.relPath #}
{% if obj.isLinkable %}
<a class="el" href="{{ page.relPath }}{{ obj.fileName }}{{ config.HTML_FILE_EXTENSION }}{% if obj.anchor %}#{{ obj.anchor }}{% endif %}">{{ text }}</a>
{% else %}
<b>{{ text }}</b>
{% endif %}