Skip to content

Commit 26ebb1c

Browse files
committed
about page
1 parent 404d2fc commit 26ebb1c

File tree

2 files changed

+39
-5
lines changed

2 files changed

+39
-5
lines changed

content/about.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
---
22
title: About
33
weight: 10
4-
---
5-
6-
Hello!
4+
profile_img: https://avatars2.githubusercontent.com/u/34720?v=3"
5+
type: about
76

8-
My name is Max Veytsman
9-
afsdf dd
7+
---
8+
- Name: Max Veytsman
9+
- Age: <span id="age"></span> days
10+
- Employment: [Appcanary](https://appcanary.com)
11+
- Schooling (Computer Science): [University of Toronto](https://www.utoronto.ca/)
12+
- Schooling (Capitalism): [Y Combinator](https://www.ycombinator.com/)
13+
- Unschooling: [Recurse Center](https://recurse.com)
14+
- Twitter: [yes](https://twitter.com/mveytsman)
15+
- Github: [yes](https://github.com/mveytsman)
16+
- Keybase: [yes](https://keybase.io/mveytsman)
17+
- Linkedin: [if you insist](https://www.linkedin.com/in/max-veytsman-239a2432/)

layouts/about/single.html

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{ partial "header.html" . }}
2+
<section class="main">
3+
<div class="container">
4+
<div class="content">
5+
<div class="posts">
6+
<div class="page-heading">About</div>
7+
<div style="display: flex; align-items: flex-start;">
8+
<div>
9+
{{ .Content }}
10+
</div>
11+
<div>
12+
<img src="{{ .Params.profile_img }} ">
13+
</div>
14+
</div>
15+
</div>
16+
</div>
17+
</div>
18+
</section>
19+
{{ partial "footer.html" . }}
20+
21+
<script>
22+
document.addEventListener('DOMContentLoaded', function() {
23+
document.getElementById("age").innerHTML = Math.round((new Date() - new Date(1988,01,05)) / (1000*60*60*24))
24+
});
25+
</script>
26+

0 commit comments

Comments
 (0)