created tshirt page

This commit is contained in:
Hamza Ahmed
2023-05-18 12:30:21 +01:00
parent 786adb3790
commit f0f64bdf20
4 changed files with 50 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{{- define "main" }}
<article class="post-single">
<header class="post-header">
<h1 class="post-title">
{{ .Title }}
{{- partial "social_icons.html" site.Params.socialIcons -}}
</h1>
</header>
{{- if .Content }}
<div class="post-content">
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
</div>
{{- end }}
<footer class="post-footer">
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }}
<ul class="post-tags">
{{- range ($.GetTerms $tags) }}
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
{{- end }}
</ul>
</footer>
</article>
{{- end }}{{/* end main */}}