vitrine/layouts/_default/home.html

60 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2024-05-24 20:01:53 +00:00
{{ define "main" }}
<div id="scroller" class="scroller">
2024-06-19 18:45:01 +00:00
<section>
<div class="profile card">
{{ if .Params.image }}
<div class="image">
{{ partial "components/image.html" .Params.image }}
</div>
{{ else }}
<div class="image placeholder"></div>
{{ end }}
<div class="content">
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ if .Params.social }}
<div class="social">
2024-06-19 18:45:01 +00:00
{{ range .Params.social }}
{{ partial "components/icon.html" . }}
2024-06-19 18:45:01 +00:00
{{ end }}
</div>
2024-06-19 18:45:01 +00:00
{{ end }}
</div>
</div>
<div class="scroll-indicator down">
<i class="icon-angle-down" onclick="scrollDown()"></i>
2024-06-19 18:45:01 +00:00
</div>
</section>
{{ range where .Site.RegularPages "Section" "projects"}}
<section>
<div class="scroll-indicator up">
<i class="icon-angle-up" onclick="scrollUp()"></i>
</div>
2024-06-19 18:45:01 +00:00
<div class="card">
{{ if .Params.image }}
<div class="image">
{{ partial "components/image.html" .Params.image }}
</div>
{{ end }}
<div class="content">
<div class="tags">
{{ range .Params.tags }}
<a class="tag" href="{{ "tags" | absURL }}/{{ . | urlize }}/">{{ . }}</a>
{{ end }}
</div>
<h1><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h1>
<div class="more">
<a class="button filled" href="{{ .RelPermalink }}">
View Case
</a>
</div>
</div>
</div>
<div class="scroll-indicator down">
<i class="icon-angle-down" onclick="scrollDown()"></i>
2024-06-19 18:45:01 +00:00
</div>
</section>
2024-05-24 20:01:53 +00:00
{{ end }}
2024-06-19 18:45:01 +00:00
</div>
2024-05-24 20:01:53 +00:00
{{ end }}