website/templates/components/backlinks.tpl

18 lines
580 B
Smarty
Raw Normal View History

2022-08-14 13:46:46 +03:00
<ema:note:backlinks:nodaily>
<div class="flex-1 p-4 mt-8 bg-gray-800 rounded">
<header class="mb-2 text-xl font-semibold text-gray-100">Links to this page</header>
<ul class="space-y-1">
<backlink>
<li>
<a class="text-${theme}-600 mavenLinkBold hover:underline"
href="${backlink:note:url}">
<backlink:note:title />
</a>
<backlink:note:contexts>
<apply template="context" />
</backlink:note:contexts>
</li>
</backlink>
</ul>
</div>
</ema:note:backlinks:nodaily>