Initial resume, organize partials

This commit is contained in:
2019-07-30 00:00:43 -04:00
parent c164340493
commit 5dc495e825
28 changed files with 298 additions and 78 deletions

View File

@@ -0,0 +1,11 @@
<div id="about">
<h2>Welcome to my site!</h2>
<p>
I'm Kevin Mok - a 2<sup>nd</sup> year Computer Science
student at the University of Toronto, and I'm greatly interested in all things Linux and
<a href="https://www.gnu.org/philosophy/floss-and-foss.en.html"
target="_blank">FOSS/FLOSS</a>.
</p>
{{ partial "home/me-equation.html" . }}
</div>

View File

@@ -0,0 +1,12 @@
<article class="list-item" itemscope itemtype="http://schema.org/Blog">
<h2 class="headline" itemprop="headline"><a href="{{ .RelPermalink }}#content">{{ .Title }}{{ if .Draft }} (Draft){{ end }}</a></h2>
<div class="meta">
{{ if not .Date.IsZero }}
<span class="key">published on</span>
<span class="val"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
{{ end }}
</div>
<section class="summary">
{{ .Summary }} {{ if .Truncated }} <a href="{{ .RelPermalink }}">Read More...</a>{{ end }}
</section>
</article>

View File

@@ -0,0 +1,7 @@
{{ $baseurl := .Site.BaseURL }}
{{ partial "site-title.html" . }}
{{ partial "nav-bar.html" . }}
{{ partial "base16-logo.html" . }}

View File

@@ -0,0 +1,44 @@
{{ $baseurl := .Site.BaseURL }}
<main role="main" class="homepage">
<!-- {{ partial "about.html" . }} -->
<!-- <h1 class="headline">Recent Posts</h1>
<div class="article-list">
{{ range first 3 (where .Data.Pages "Section" "post") }}
{{ partial "article-list-item.html" . }}
{{ end }}
</div> -->
{{ with .Site.Taxonomies.categories }}
<h1 class="headline">Categories</h1>
<section class="categories">
{{ range $name, $value := . }}
<h2 class="category">
<a href="{{ $baseurl }}categories/{{ $name | urlize }}">{{ title $name }}</a>
<small>({{ .Count }})</small>
</h2>
{{ end }}
</section>
{{ end }}
{{ with .Site.Taxonomies.tags }}
<h1 class="headline">Tags</h1>
<section class="tags">
{{ range $name, $value := . }}
<span class="tag">
<a href="{{ $baseurl }}tags/{{ $name | urlize }}">{{ $name }}</a>
<small>({{ .Count }})</small>
</span>
{{ end }}
</section>
{{ end }}
</main>

View File

@@ -0,0 +1,24 @@
<div class="me-equation">
<div class="equation-part">
<a href="https://www.gnu.org/" target="_blank">
<img src="{{ "img/gnu.svg" | relURL }}" id="gnu" alt="gnu-logo">
</a>
<p>+</p>
</div>
<div class="equation-part">
<a href="https://www.wikiwand.com/en/Arch_Linux" target="_blank">
<img src="{{ "img/arch.svg" | relURL }}" alt="linux-logo">
<!-- <img src="{{ "img/larbs.png" | relURL }}" alt="linux-logo"> -->
</a>
<p>+</p>
</div>
<div class="equation-part" id="uoft-part">
<a href="https://www.utoronto.ca/" target="_blank">
<img src="{{ "img/uoft-logo.svg" | relURL }}" alt="uoft-logo">
</a>
<p>=</p>
</div>
<div class="equation-part">
<img src="{{ "img/hexatar.png" | relURL }}" id="hexatar" alt="my-avatar">
</div>
</div>

View File

@@ -0,0 +1,7 @@
<div style="text-align: center;">
<div class="hero-tagline">
<!-- [> “Live, love and Linux.” <] -->
<p>Live, love and <img src="{{ "/img/linux-icon.svg" | relURL }}"
class="icon"
alt="linux-icon"/>.</p>
</div>