Skip to content

Commit 9bac92d

Browse files
committed
Refactored blog html and layouts
1 parent 906950d commit 9bac92d

File tree

7 files changed

+5
-31
lines changed

7 files changed

+5
-31
lines changed

_layouts/post.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
layout: default
2+
layout: page
33
---
4-
{% include header.html %}
5-
64
<h1 class="title">{{ page.title }}</h1>
75

86
<span class="date">
@@ -29,5 +27,3 @@ <h1 class="title">{{ page.title }}</h1>
2927
{% if site.disqus %}
3028
{% include disqus.html %}
3129
{% endif %}
32-
33-
{% include footer.html %}

about.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: About
33
layout: page
4-
permalink: /about/index.html
54
---
65
![Profile Image]({{ site.url }}/{{ site.picture }})
76

_layouts/blog.html blog.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2-
layout: default
2+
layout: page
33
title: Blog
44
---
5-
{% include header.html %}
6-
75
<section class="list">
86
{% if site.posts.size == 0 %}
97
<p class="text-center">Nothing published yet!</p>
@@ -21,5 +19,3 @@
2119
{% endfor %}
2220
{% endif %}
2321
</section>
24-
25-
{% include footer.html %}

blog/index.html

-4
This file was deleted.

index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
layout: default
2+
layout: page
33
title: Home
44
---
5-
{% include header.html %}
6-
7-
{% include footer.html %}

projects.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
2-
layout: default
3-
permalink: /projects/index.html
2+
layout: page
43
title: Projects
54
---
6-
{% include header.html %}
7-
85
<section class="list">
96
{% for post in site.posts %}
107
{% if post.projects %}
@@ -17,5 +14,3 @@
1714
{% endif %}
1815
{% endfor %}
1916
</section>
20-
21-
{% include footer.html %}

tags.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
2-
layout: default
3-
permalink: /tags/index.html
2+
layout: page
43
title: Tags
54
---
6-
{% include header.html %}
7-
85
<section class="list">
96
<h1 class="title">Tags</h1>
107

@@ -50,5 +47,3 @@ <h3 class="title">{{ post.title }}</h3>
5047
<div class="breaker"></div>
5148
{% endfor %}
5249
</section>
53-
54-
{% include footer.html %}

0 commit comments

Comments
 (0)