Skip to content

Commit abfad72

Browse files
committed
Add empty home, blog, projects and careers pages
1 parent 27e7820 commit abfad72

File tree

5 files changed

+46
-45
lines changed

5 files changed

+46
-45
lines changed

_layouts/home.html

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,4 @@
22
layout: default
33
---
44

5-
{%- if page.title -%}
6-
<h1>{{ page.title }}</h1>
7-
{%- endif -%}
8-
9-
{{ content }}
10-
11-
{%- if site.posts.size > 0 -%}
12-
<h2>{{ page.list_title | default: "Posts" }}</h2>
13-
<ul>
14-
{%- for post in site.posts -%}
15-
<li>
16-
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
17-
<span>{{ post.date | date: date_format }}</span>
18-
<h3>
19-
<a href="{{ post.url | relative_url }}">
20-
{{ post.title | escape }}
21-
</a>
22-
</h3>
23-
{%- if site.show_excerpts -%}
24-
{{ post.excerpt }}
25-
{%- endif -%}
26-
</li>
27-
{%- endfor -%}
28-
</ul>
29-
30-
<p>subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
31-
{%- endif -%}
5+
This is an empty homepage.

about.markdown

Lines changed: 0 additions & 18 deletions
This file was deleted.

blog.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: default
3+
title: Blog
4+
permalink: /blog/
5+
---
6+
7+
{%- if page.title -%}
8+
<h1>{{ page.title }}</h1>
9+
{%- endif -%}
10+
11+
{%- if site.posts.size > 0 -%}
12+
<h2>{{ page.list_title | default: "Posts" }}</h2>
13+
<ul>
14+
{%- for post in site.posts -%}
15+
<li>
16+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
17+
<span>{{ post.date | date: date_format }}</span>
18+
<h3>
19+
<a href="{{ post.url | relative_url }}">
20+
{{ post.title | escape }}
21+
</a>
22+
</h3>
23+
{%- if site.show_excerpts -%}
24+
{{ post.excerpt }}
25+
{%- endif -%}
26+
</li>
27+
{%- endfor -%}
28+
</ul>
29+
30+
<p>subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
31+
{%- endif -%}

careers.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: page
3+
title: Careers
4+
permalink: /careers/
5+
---
6+
7+
This is an empty careers page.

projects.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: page
3+
title: Projects
4+
permalink: /projects/
5+
---
6+
7+
This is an empty projects page.

0 commit comments

Comments
 (0)