main
html 39 lines 1.26 KB
Raw
1 {{- define "main" }}
2 <article class="post-single squad-report squad-article" data-pagefind-body>
3 {{ partial "pagefind-metadata.html" . }}
4
5 <header class="post-header article-header">
6 {{ partial "breadcrumbs.html" . }}
7 <p class="section-topline">Weekly summary</p>
8 <h1 class="post-title entry-hint-parent">{{ .Title }}</h1>
9 {{- with (.Description | default .Params.summary) }}
10 <p class="post-description article-subtitle">{{ . }}</p>
11 {{- end }}
12 {{ partial "article-meta.html" . }}
13 </header>
14
15 {{ partial "visuals/article-cover.html" . }}
16
17 {{ partial "report-metrics.html" . }}
18 {{ partial "article-jump-nav.html" . }}
19 {{ partial "article-featured-repos.html" . }}
20
21 {{ partial "visuals/signal-noise.html" (dict "page" .) }}
22
23 {{ partial "report-shortcuts.html" . }}
24
25 {{- if (and site.Params.ShowShareButtons (ne .Params.disableShare true)) }}
26 <div class="article-share article-share--top">{{ partial "share_icons.html" . }}</div>
27 {{- end }}
28
29 <div class="post-content md-content article-content">
30 {{ partial "article-content.html" . }}
31 </div>
32
33 {{- if (and site.Params.ShowShareButtons (ne .Params.disableShare true)) }}
34 {{- partial "share_icons.html" . -}}
35 {{- end }}
36
37 {{ partial "article-footer.html" . }}
38 </article>
39 {{- end }}