fix: Layout and theme
This commit is contained in:
19
layouts/index.html
Normal file
19
layouts/index.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- define "main" }}
|
||||
|
||||
{{- if .Site.Params.homeInfoParams }}
|
||||
<article class="first-entry home-info">
|
||||
<header class="entry-header">
|
||||
<h1>{{ .Site.Params.homeInfoParams.Title | markdownify }}</h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
{{ .Site.Params.homeInfoParams.Content | markdownify }}
|
||||
</div>
|
||||
<footer class="entry-footer">
|
||||
{{- partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
|
||||
</footer>
|
||||
</article>
|
||||
{{- end }}
|
||||
|
||||
{{- /* No recent posts/notes - clean home page */ -}}
|
||||
|
||||
{{- end }}{{/* end main */}}
|
||||
Reference in New Issue
Block a user