Files
docker-docs/layouts/samples/single.html
David Karlsson d5fd0b2f11 site: simplify base templates
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-23 17:29:32 +01:00

49 lines
1.4 KiB
HTML

{{ define "article" }}
<article class="prose dark:prose-invert max-w-none">
{{ partial "breadcrumbs.html" . }}
{{ with .Title }}
<h1>{{ . }}</h1>
{{ end }}
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{{ range site.Data.samples.samples }}
{{ if in .services $.Params.service }}
<tr>
<td>{{ printf "[%s](%s)" .title .url | markdownify }}</td>
<td>{{ .description }}</td>
</tr>
{{ end }}
{{ end }}
</tbody>
</table>
<h2>Looking for more samples?</h2>
<p>Visit the following GitHub repositories for more Docker samples.</p>
<ul>
<li>
<p>
{{ markdownify "[Awesome Compose](https://github.com/docker/awesome-compose)" }}:
A curated repository containing over 30 Docker Compose samples. These
samples offer a starting point for how to integrate different services
using a Compose file.
</p>
</li>
<li>
<p>
{{ markdownify "[Docker Samples](https://github.com/dockersamples?q=&type=all&language=&sort=stargazers)" }}:
A collection of over 30 repositories that offer sample containerized
demo applications, tutorials, and labs.
</p>
</li>
</ul>
</article>
{{ end }}