Skip to content

Commit 2df06e2

Browse files
committed
feat: restyle homepage
1 parent 239fcc2 commit 2df06e2

File tree

6 files changed

+33
-5
lines changed

6 files changed

+33
-5
lines changed

assets/critical.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ main {
6868
}
6969
footer {
7070
flex-shrink: 0;
71+
margin: 0 1ch;
7172
}
7273

7374
pre {
File renamed without changes.

content/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ date: 2017-03-23
44
publishDate: 2017-03-24
55
---
66

7-
# Steven Kalt
8-
97
I am full-stack engineer working in data science, renewable energy, and GIS.
108
I graduated from Amherst College with a degree in Environmental Studies and French.
119
In my spare time, I climb, run, and cross-country ski.

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{{ end }}
4949

5050
{{ block "footer" . }}
51-
<footer style="font-size: smaller; margin-left: 1ch;">
51+
<footer class="bg-info">
5252
{{ partial "footer.html" . }}
5353
</footer>
5454
{{ end }}

layouts/home.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{{- define "main" -}}
2+
{{- $gh := resources.Get "icon_gh.svg" | resources.Minify | resources.Fingerprint -}}
3+
{{- $li := resources.Get "icon_li.svg" | resources.Minify | resources.Fingerprint -}}
4+
{{- $so := resources.Get "icon_so.svg" | resources.Minify | resources.Fingerprint -}}
5+
<style>
6+
/* centered */
7+
.centered {
8+
margin: auto;
9+
text-align: center;
10+
}
11+
.centered a {
12+
text-decoration: none;
13+
}
14+
</style>
15+
<main>
16+
<h1 class="centered">{{ .Title }}</h1>
17+
<div class="centered">
18+
<a href="https://github.com/skalt" target="gh">
19+
<img src="{{ $gh.Permalink }}" alt="GitHub profile" title="GitHub profile">
20+
</a>
21+
<a href="https://linkedin.com/in/steven-kalt" target="li">
22+
<img src="{{ $li.Permalink }}" alt="LinkedIn profile" title="LinkedIn profile">
23+
</a>
24+
<a href="https://stackoverflow.com/users/1234567" target="so">
25+
<img src="{{ $so.Permalink }}" alt="Stack Overflow profile" title="Stack Overflow profile">
26+
</a>
27+
</div>
28+
{{- .Content -}}
29+
</main>
30+
{{- end -}}

layouts/partials/nav.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
1212
{{- end -}}
1313

14-
<li><a href="https://github.com/skalt"><img alt="GitHub" title="GitHub" src="{{ $gh.Permalink }}"></a>
1514
{{- with $.OutputFormats.Get "rss" -}}
16-
<a href="{{ .Permalink }}" style="margin-left: 1ch;"><img alt="rss" title="rss" src="{{(resources.Get "icon_rss.svg" | resources.Fingerprint).Permalink}}"></a>
15+
<a href="{{ .Permalink }}"><img alt="rss" title="rss" src="{{(resources.Get "icon_rss.svg" | resources.Fingerprint).Permalink}}"></a>
1716
{{ end -}}
1817
</li>
1918
</ul>

0 commit comments

Comments
 (0)