Ajout de fichiers PDF pour les tutoriels et mise à jour des métadonnées dans les fichiers Markdown
Build and push chill website image / build (push) Successful in 2m47s
Build and push chill website image / build (push) Successful in 2m47s
This commit is contained in:
@@ -16,8 +16,24 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<h1 class="text-4xl font-bold mb-4">{{ .Title }}</h1>
|
||||
|
||||
<div class="flex flex-wrap items-center justify-between gap-4 mb-4">
|
||||
<h1 class="text-4xl font-bold">{{ .Title }}</h1>
|
||||
{{ with .Params.pdf }}
|
||||
{{ $filename := path.Base . }}
|
||||
<a href="{{ . | relURL }}" download="{{ $filename }}"
|
||||
class="inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-white bg-primary-600 hover:bg-primary-700 rounded-lg transition-colors">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
|
||||
</svg>
|
||||
{{ i18n "download" | default "Télécharger" }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ with .Description }}
|
||||
<p class="text-lg text-gray-600 mb-4">{{ . }}</p>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "post-meta.html" . }}
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user