added contact page

This commit is contained in:
Hamza Ahmed
2023-06-21 15:31:02 +01:00
parent 84d3356cdd
commit 5ce258a868
6 changed files with 53 additions and 6 deletions
+31
View File
@@ -0,0 +1,31 @@
{{- 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 */}}