Sha256: 3de4ffcdb0f19cbd1ea342e0b7b81945dd128268c4f67cb7fceb195fe8f50d49
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
{%-assign posts = include.collection -%} {%- if posts.size > 0 -%} {% assign ymPre = "" %} {% assign archive_date_format = site.theme_config.archive_date_format | default: "%Y" %} {% assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" %} {% assign yCounter = 0 %} {% assign lock_path = site.theme_config.lock_path %} <ul class="postlistul"> {%- for post in posts limit: include.limit -%} {% assign ymCur = post.date | date: archive_date_format %} {% if ymCur != ymPre %} {% if ymPre != "" %} </ul> {% endif %} {% if yCounter == 0 %} <li class="postlistli largeli largeli0">{{ymCur}}</li> {% else %} <li class="postlistli largeli">{{ymCur}}</li> {% endif %} {%- assign yCounter = yCounter | plus:1 -%} <ul class="postlistul"> {% endif %} {% assign ymPre = ymCur %} <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 datetime="{{post.date}}">{{- post.date | date: archive_date_titleformat }}</date> </li> {%- endfor -%} </ul> {%- endif -%}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-zeta-0.3.5.3 | _includes/archive_list.html |
jekyll-zeta-0.3.5.2 | _includes/archive_list.html |