Merged improvement to post-index.html
This commit is contained in:
+3
-3
@@ -28,13 +28,13 @@
|
||||
</div><!-- /.image-wrap -->
|
||||
{% endif %}
|
||||
|
||||
<div id="main" role="main">
|
||||
<div id="main" role="main">
|
||||
<div class="article-author-side">
|
||||
{% include _author-bio.html %}
|
||||
</div>
|
||||
<div id="index">
|
||||
<h3><a href="{{ site.url}}/posts/">Recent Posts</a></h3>
|
||||
{% for post in site.posts limit:5 %}
|
||||
{% for post in site.posts limit:5 %}
|
||||
<article>
|
||||
{% if post.link %}
|
||||
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></h2>
|
||||
@@ -54,6 +54,6 @@
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include _scripts.html %}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -53,7 +53,7 @@
|
||||
</footer>
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include _scripts.html %}
|
||||
{% include _scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||
{% if year != written_year %}
|
||||
<h3>{{ year }}</h3>
|
||||
{% capture written_year %}{{ year }}{% endcapture %}
|
||||
{% capture written_year %}{{ year }}{% endcapture %}
|
||||
{% endif %}
|
||||
<article>
|
||||
{% if post.link %}
|
||||
@@ -60,6 +60,6 @@
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include _scripts.html %}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -71,7 +71,7 @@
|
||||
</footer>
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include _scripts.html %}
|
||||
{% include _scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user