This commit is contained in:
Michael Zhang 2019-03-04 18:04:13 -06:00
parent 88ac5a4528
commit 854a6e5fc2
No known key found for this signature in database
GPG key ID: 5BAEFE5D04F0CE6C
6 changed files with 66 additions and 3 deletions

View file

@ -1,2 +1,4 @@
+++ +++
title = "all pages"
template = "listing.html"
+++ +++

29
static/resume.json Normal file
View file

@ -0,0 +1,29 @@
{
"basics": {
"name": "Michael Zhang",
"email": "iptq@protonmail.com",
"phone": "240-813-8477",
"website": "https://mzhang.me",
"profiles": [
{
"network": "Twitter",
"username": "_iptq",
"url": "https://twitter.com/_iptq"
}
]
},
"education": [{
"institution": "University of Minnesota-Twin Cities",
"area": "Computer Science",
"studyType": "Bachelor",
"startDate": "2016-09-06",
"endDate": "2019-05-15",
"gpa": "3.2"
}],
"languages": [
{
"language": "English",
"fluency": "Native speaker"
}
],
}

10
templates/404.html Normal file
View file

@ -0,0 +1,10 @@
{% extends "layout.html" %}
{% block title %}
404 - {{ config.title }}
{% endblock %}
{% block content %}
<h1>nothing here</h1>
<p><a href="/">top</a></p>
{% endblock %}

View file

@ -18,8 +18,13 @@
</div> </div>
<div style="text-align: center; font-weight: 200; margin-bottom: 40px;"> <div style="text-align: center; font-weight: 200; margin-bottom: 40px;">
written by michael zhang. <p style="margin: 0;">
<a href="https://git.mzhang.me/michael/blog" class="colorlink" target="_blank">source</a> <a href="/pages" class="colorlink">all pages</a>
</p>
<p style="margin: 0;">
written by michael zhang.
<a href="https://git.mzhang.me/michael/blog" class="colorlink" target="_blank">source</a>
</p>
</div> </div>
</body> </body>

16
templates/listing.html Normal file
View file

@ -0,0 +1,16 @@
{% extends "layout.html" %}
{% block title %}
{% if section.title %}{{ section.title }} - {% endif %}
{{ config.title }}
{% endblock %}
{% block content %}
<h1 style="margin: 0">{{ section.title }}</h1>
<ul>
{% for page in section.pages %}
<li><a href="{{ page.permalink }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View file

@ -8,7 +8,8 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1 style="margin-bottom: 0;">{{ page.title }}</h1> <a href="../">&laquo; back</a>
<h1 style="margin: 0;">{{ page.title }}</h1>
{% if page.date or page.author %} {% if page.date or page.author %}
<small style="display: block; margin-bottom: 20px;"> <small style="display: block; margin-bottom: 20px;">
Posted Posted