Skip to content

Latest commit

 

History

History
61 lines (60 loc) · 2.05 KB

index.markdown

File metadata and controls

61 lines (60 loc) · 2.05 KB
layout
default
    {% for post in site.posts limit: 1 %}
    {{ post.date | date:"%Y-%m-%d" }} {% if post.tags %} {% for tag in post.tags %} #{{ tag }} {% endfor %} {% endif %} <script type="text/javascript"> var l = document.createElement('script'); l.type = 'text/javascript'; l.async = true; l.src = 'https://like.lhzhang.com/javascript/widget.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(l); </script>
    {{ post.content }}
    {% endfor %}
  • Happend earlier this year
  • {% capture year %}{{ site.time | date:"%Y"}}{% endcapture %} {% for post in site.posts offset:1 %} {% capture y %}{{ post.date | date:"%Y"}}{% endcapture %} {% if year != y %} {% break %} {% endif %}
  • {{ post.date | date:"%Y-%m-%d" }} {{ post.title }}
  • {% endfor %}
  • Long long ago