Add empty home, blog, projects and careers pages

This commit is contained in:
Kyle Gordy 2019-11-10 22:21:20 -05:00
parent 27e7820508
commit abfad72b07
5 changed files with 46 additions and 45 deletions

View File

@ -2,30 +2,4 @@
layout: default
---
{%- if page.title -%}
<h1>{{ page.title }}</h1>
{%- endif -%}
{{ content }}
{%- if site.posts.size > 0 -%}
<h2>{{ page.list_title | default: "Posts" }}</h2>
<ul>
{%- for post in site.posts -%}
<li>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span>{{ post.date | date: date_format }}</span>
<h3>
<a href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
</li>
{%- endfor -%}
</ul>
<p>subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
{%- endif -%}
This is an empty homepage.

View File

@ -1,18 +0,0 @@
---
layout: page
title: About
permalink: /about/
---
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
You can find the source code for Minima at GitHub:
[jekyll][jekyll-organization] /
[minima](https://github.com/jekyll/minima)
You can find the source code for Jekyll at GitHub:
[jekyll][jekyll-organization] /
[jekyll](https://github.com/jekyll/jekyll)
[jekyll-organization]: https://github.com/jekyll

31
blog.html Normal file
View File

@ -0,0 +1,31 @@
---
layout: default
title: Blog
permalink: /blog/
---
{%- if page.title -%}
<h1>{{ page.title }}</h1>
{%- endif -%}
{%- if site.posts.size > 0 -%}
<h2>{{ page.list_title | default: "Posts" }}</h2>
<ul>
{%- for post in site.posts -%}
<li>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span>{{ post.date | date: date_format }}</span>
<h3>
<a href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
</li>
{%- endfor -%}
</ul>
<p>subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
{%- endif -%}

7
careers.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Careers
permalink: /careers/
---
This is an empty careers page.

7
projects.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Projects
permalink: /projects/
---
This is an empty projects page.