-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to include teasers on main page like mmistakes/minimal-mistakes#1717
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
--- | ||
layout: home | ||
layout: archive | ||
author_profile: true | ||
--- | ||
|
||
{% if page.name == 'index.html' and insta_image != true %} | ||
<div id="IG_top"> | ||
<h1 class="archive__subtitle IG_top">Instagram Feed</h1> | ||
<figure class="sixth" id="IG_topFigure"></figure> | ||
</div> | ||
{% endif %} | ||
|
||
<h1 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h1> | ||
|
||
{% for post in paginator.posts %} | ||
{% include archive-single-main.html %} | ||
{% endfor %} | ||
|
||
{% if page.url == '/' and insta_image != true and site.url == 'fake.url' %} | ||
<h1 class="archive__subtitle">Instagram Feed</h1> | ||
<div id="IG_bottom"> | ||
<figure class="sixth" id="IG_bottomFigure"></figure> | ||
</div> | ||
{% endif %} | ||
|
||
{% include paginator.html %} |