Sha256: 57e9513c0f9471d0f706688aa01f14f73e16dd5c0f0ef06d6af8422414b5938f
Contents?: true
Size: 1.77 KB
Versions: 2
Compression:
Stored size: 1.77 KB
Contents
--- layout: default --- <div class="home"> {%- if page.title -%} <h1 class="page-heading">{{ page.title }}</h1> {%- endif -%} {{ content }} {%- if site.posts.size > 0 -%} <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2> <ul class="post-list"> {%- for post in site.posts -%} <li> {%- assign date_format = site.aivesoft-jekyll-theme.date_format | default: "%b %-d, %Y" -%} <h3 class="post-title"> <a class="post-link" href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a> </h3> <div class="post-meta"><i class="far fa-calendar-alt"></i> {{ post.date | date: date_format }}</div> <a class="post-link" href="{{ post.url | relative_url }}"> {%- if post.image -%} <div> <img src="{{ post.image }}"> </div> {%- endif -%} </a> {%- if post.appstore or post.playstore -%} <div class="post-store"> {%- if post.appstore -%} <a href="{{ post.appstore }}" target="_blank"><img src="/assets/images/appstore.png" /></a> {%- endif -%} {%- if post.playstore -%} <a href="{{ post.playstore }}" target="_blank"><img src="/assets/images/playstore.png" /></a> {%- endif -%} </div> {%- endif -%} <div class="post-content"> {{ post.content | strip_html | truncatewords:20}} </div> {%- if site.show_excerpts -%} {{ post.excerpt }} {%- endif -%} </li> {%- endfor -%} </ul> <p class="feed-subscribe"> <a href="{{ 'feed.xml' | relative_url }}"> <svg class="svg-icon orange"> <use xlink:href="{{ 'assets/images/social-icons.svg#rss' | relative_url }}"></use> </svg><span>Subscribe</span> </a> </p> {%- endif -%} </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aivesoft-jekyll-theme-1.0.2 | _layouts/home.html |
aivesoft-jekyll-theme-1.0.1 | _layouts/home.html |