Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (86 sloc) 2.05 KB
layout permalink title component sidebar
index
/posts/
博文列表
markdown
tags
<style type="text/css"> ul.list-unstyled#posts-archive-list{ padding-left: 0; } .mobile-hidden { display: inline; } @media(max-width: 1024px){ .mobile-hidden{ display: none !important; } } .sticky h4 { font-size: 26px; } .sticky { font-size: 18px; margin-top: 35px; margin-bottom: 35px; } #posts-archive-list li { font-size: 18px; margin-bottom: 5px; list-style: none; } #posts-archive-list li .disqus-comment-count{ font-size: .8em; } .post-date { margin-right: 0; } .display-icon { display: inline-block; width: 1.1em; text-align: center; } .emoji-tag { font-size: .8em; min-width: 1.5em; white-space: nowrap; display: inline-block; text-align: right; } @media(max-width: 1024px) { .emoji-tag { display: inline; } } .post-title { background-color: white; } </style>
    {% for post in site.posts %}
  • {% if post.display == "sticky" %}📌 {% elsif post.display == "hide" %}# {% else %} {% endif %} {{ post.date | date:"%Y-%m-%d" }} {{ post.emotag }} {{ post.title }} {% if site.disqus %} {% endif %}
  • {% capture year %} {{ post.date | date: '%Y' }} {% endcapture %} {% capture nyear %} {{ post.previous.date | date: '%Y' }} {% endcapture %} {% if year != nyear %}
    {% endif %} {% endfor %}
{% if site.disqus %} <script id="dsq-count-scr" src="//{{site.disqus}}.disqus.com/count.js" async></script> {% endif %}