Initial commit for Hugo site.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{{ define "main" -}}
|
||||
{{ if .Site.Params.light_dark }}
|
||||
{{ partial "light_dark.html" . }}
|
||||
{{ end }}
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<div class="posts">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="project">
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<p>
|
||||
{{ if .Params.featuredImage }}
|
||||
<img src="{{ .Params.featuredImage }}"><br>
|
||||
{{ end }}
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user