Merge branch 'dev' into chore/try-repo-card

This commit is contained in:
Nuno C.
2025-07-17 16:44:15 +01:00
committed by GitHub
19 changed files with 690 additions and 523 deletions

View File

@@ -1,10 +1,13 @@
{{ $link := .Get "link" }}
{{ $showSummary := .Get "showSummary" }}
{{ $compactSummary := .Get "compactSummary" | default false }}
{{ $target := .Page }}
{{ if ne $link .Page.RelPermalink }}
{{ $target = index (first 1 (where .Site.AllPages "RelPermalink" $link)) 0 }}
{{ end }}
{{ if $target }}
<section class="space-y-10 w-full">
{{ partial "article-link/simple.html" $target }}
{{ $context := dict "target" $target "showSummary" $showSummary "compactSummary" $compactSummary }}
{{ partial "article-link/_shortcode.html" $context }}
</section>
{{ end }}