mirror of https://github.com/jpanther/congo.git
31 lines
957 B
HTML
31 lines
957 B
HTML
<article>
|
|
<h3 class="mt-6 text-xl font-semibold">
|
|
{{ if isset .Params "externalUrl" }}
|
|
<a class="hover:underline" href="{{ .Params.externalUrl }}" target="_blank" rel="external"
|
|
>{{ .Title }}</a
|
|
>
|
|
<span
|
|
class="text-sm cursor-default"
|
|
style="vertical-align: super;"
|
|
title="{{ i18n "list.externalurl_title" }}"
|
|
>↗</span
|
|
>
|
|
{{ else }}
|
|
<a
|
|
class="hover:underline hover:underline-primary-500 hover:underline-offset-small"
|
|
href="{{ .Permalink }}"
|
|
>{{ .Title }}</a
|
|
>
|
|
{{ end }}
|
|
{{ if and .Draft .Site.Params.article.showDraftLabel }}
|
|
{{ partial "badge.html" "Draft" }}
|
|
{{ end }}
|
|
{{ if templates.Exists "partials/extend-article-link.html" }}
|
|
{{ partial "extend-article-link.html" . }}
|
|
{{ end }}
|
|
</h3>
|
|
<div class="text-sm text-gray-400 dark:text-gray-500">
|
|
{{ partial "article-meta.html" . }}
|
|
</div>
|
|
</article>
|