hugo-theme/layouts/projects/projects.html

26 lines
592 B
HTML

<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "navbar.html" . }}
<div class="projects">
{{ range .Pages }}
<a href="{{ .Permalink }}">
<figure>
<img src="{{ .Params.featured_image }}" alt="{{ .Title }}">
<div class="project-caption">
<div>
<span class="project-caption-title">{{ .Title }}</span><br>
<span class="project-caption-date">{{ .Date.Format "June 2, 2006" }}</span>
</div>
</div>
</figure>
</a>
{{ end }}
</div>
{{ partial "footer.html" . }}
</body>
</html>