diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/about-page.html | 5 | ||||
| -rw-r--r-- | _layouts/home-page.html | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/_layouts/about-page.html b/_layouts/about-page.html index c9263cd..1e5ebd2 100644 --- a/_layouts/about-page.html +++ b/_layouts/about-page.html @@ -26,11 +26,6 @@ layout: default <div class="about-info"> {{ content }} - <div class="latest-post"> - <h2>latest post</h2> - {% assign post = site.posts[0] %} - {% include post-preview.html %} - </div> </div> </div> diff --git a/_layouts/home-page.html b/_layouts/home-page.html new file mode 100644 index 0000000..e2d2618 --- /dev/null +++ b/_layouts/home-page.html @@ -0,0 +1,11 @@ +--- +layout: default +--- + +{{ content }} + +<div class="latest-post"> + <h2>latest post</h2> + {% assign post = site.posts[0] %} + {% include post-preview.html %} +</div> |
