initales commit Northside Studio Page
This commit is contained in:
25
nss/themes/hello-friend-ng/layouts/index.html
Normal file
25
nss/themes/hello-friend-ng/layouts/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{{ define "body" }}
|
||||
<body class="{{ if .Site.Params.backgroundImage }} background-image" style="background-image: url('{{ .Site.Params.backgroundImage }}');" {{ else }}"{{ end }}>
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<div class="content-center">
|
||||
<main>
|
||||
<div>
|
||||
{{ if .Site.Params.Portrait.Path }}
|
||||
<img src="{{ .Site.Params.Portrait.Path }}" class="circle" alt="{{ .Site.Params.Portrait.Alt }}" style="max-width:{{ .Site.Params.Portrait.MaxWidth }}" />
|
||||
{{ end }}
|
||||
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
|
||||
{{ partial "subtitle.html" . }}
|
||||
|
||||
{{- with .Site.Params.social }}
|
||||
<div>
|
||||
{{ partial "social-icons.html" . }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user