Sha256: 9c065f89be866609979c4d1254a1332ec551efb8ade62f62b138b730ad2ab739
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
{%-if include.collection-%} {%-assign posts = include.collection-%} {%-else-%} {%-assign posts = site.posts-%} {%-endif-%} {%-if include.limit and posts.size > include.limit-%} {%-assign limit_exceeded = true-%} {%-else-%} {%-assign limit_exceeded = false-%} {%-endif-%} {%- if posts.size > 0 -%} {% assign lock_path = site.theme_config.lock_path %} <ul class="postlistul"> {%- for post in posts limit: include.limit -%} <li class="postlistli"> {% if lock_path.size > 0 %} {%- assign encid = "" | get_encrypt_id:post | default: "" -%} {% if encid.size > 1 %} <div > <a href="{{ post.url | relative_url }} ">{{ post.title }}</a> <img style="width:12px;height:12px;display: inline;margin-left: 5px;" src="{{ lock_path | relative_url}}"> </div> {% else %} <a href="{{ post.url | relative_url }}">{{ post.title }}</a> {% endif %} {%else%} <a href="{{ post.url | relative_url }}">{{ post.title }}</a> {% endif %} <date>{{- post.date | date: site.theme_config.date_format -}}</date> </li> {%- endfor -%} {%- if include.show_more and limit_exceeded -%} <li class="postlistli"><a href="{{ include.show_more_url | relative_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li> {%- endif -%} </ul> {%- endif -%}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-zeta-0.3.5.3 | _includes/post_list.html |
jekyll-zeta-0.3.5.2 | _includes/post_list.html |