new pages and redesign
This commit is contained in:
parent
913c3b720a
commit
4ac767f1f6
|
@ -1,6 +1,6 @@
|
|||
# My variables
|
||||
name: Micah Cowell
|
||||
description: a clueless web developer
|
||||
description: developer & designer
|
||||
google_analytics: null
|
||||
google_verification: null
|
||||
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
- title: home
|
||||
url: /
|
||||
|
||||
- title: about
|
||||
url: /me
|
||||
|
||||
- title: portfolio
|
||||
url: /work
|
||||
|
||||
- title: github
|
||||
url: https://github.com/getmicah
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
<div class="header">
|
||||
<div class="nav">
|
||||
<h1>{{ site.name }}</h1>
|
||||
<h2>{{ site.description }}</h2>
|
||||
<ul>
|
||||
<li><a href="/">home</a></li>
|
||||
{% for item in site.data.navigation %}
|
||||
<li>
|
||||
<a href="{{ item.url }}">{{ item.title }}</a>
|
|
@ -26,7 +26,7 @@
|
|||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
{% include header.html %}
|
||||
{% include nav.html %}
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
// HEADER
|
||||
.header {
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
// POST
|
||||
.post {
|
||||
margin-top: 20px;
|
||||
}
|
|
@ -3,9 +3,6 @@
|
|||
|
||||
@import "reset";
|
||||
@import "config";
|
||||
@import "header";
|
||||
@import "post";
|
||||
@import "about";
|
||||
|
||||
|
||||
body {
|
||||
|
@ -31,6 +28,12 @@ a {
|
|||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
ul {
|
||||
margin-top: 5px;
|
||||
li {
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// WRAPPER
|
||||
|
@ -41,19 +44,44 @@ a {
|
|||
}
|
||||
|
||||
|
||||
// PORTFOLIO
|
||||
.portfolio {
|
||||
margin-top: 20px;
|
||||
// NAVIGATION
|
||||
.nav {
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
font-size: 36px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
display: inline;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// BLOG
|
||||
.blog {
|
||||
margin-top: 20px;
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.post {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
.about {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
.portfolio {
|
||||
margin-top: 20px;
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
|
13
index.html
13
index.html
|
@ -2,24 +2,13 @@
|
|||
layout: default
|
||||
---
|
||||
|
||||
<div class="portfolio">
|
||||
<h1>Portfolio</h1>
|
||||
<ul>
|
||||
{% for project in site.data.projects %}
|
||||
<li>
|
||||
<a href="{{ project.url }}">{{ project.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="blog">
|
||||
<h1>Blog</h1>
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">{{ post.title }} | {{ post.date | date: '%b %d %Y' }}</a>
|
||||
<span class="date">{{ post.date | date: '%b %d %Y' }}</span> | <a href="{{ post.url }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
|
||||
<div class="about">
|
||||
<h1>About Me</h1>
|
||||
</div>
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
|
||||
<div class="portfolio">
|
||||
<h1>Portfolio</h1>
|
||||
<ul>
|
||||
{% for project in site.data.projects %}
|
||||
<li>
|
||||
<a href="{{ project.url }}">{{ project.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in New Issue