/
index.html
44 lines (41 loc) · 1.28 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{{ define "main" }}
<main class="homepage">
<div class="intro">
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Params.social }}
<div>
{{ partial "social-icons.html" . }}
</div>
{{- end }}
</div>
<h2>General Tech Posts</h2>
<ol class="recent">
{{- range where .Site.RegularPages "Params.techfeatured" true -}}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
<div class="summary">{{.Summary}}</div>
</li>
{{- end -}}
</ol>
<h2>Posts about <a href="https://docs.microsoft.com/">Docs</a></h2>
<ol class="recent">
{{- range where .Site.RegularPages "Params.docsfeatured" true -}}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
<!-- <div class="summary">{{.Summary}}</div> -->
</li>
{{- end -}}
</ol>
<h2>Other Recent Posts</h2>
<ol class="recent">
{{- range where .Site.RegularPages "Params.featured" true -}}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
<!-- <div class="summary">{{.Summary}}</div> -->
</li>
{{- end -}}
</ol>
<h2>Even More Posts!</h2>
<p><a href="/blog/">See all my past blog posts</a></p>
</main>
{{ end }}