Merged improvement to post-index.html
This commit is contained in:
404.mdGemfileREADME.md_config.yml
_includes
_layouts
_posts
2012-05-22-readability-post.md2013-05-22-sample-post-images.md2013-05-23-readability-feature-post.md2013-08-12-sample-link-post.md2013-08-16-code-highlighting-post.md2014-07-31-author-override.md
_sass
elements.scssforms.scssgrid.scssmixins.scsspage.scsssite.scsstypography.scssvariables.scss
vendor
magnific-popup
_templates
about
assets
package.jsontheme-setup
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -71,7 +71,7 @@
|
||||
</footer>
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include _scripts.html %}
|
||||
{% include _scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user