1 Star 0 Fork 1

yebail-ss/jekyll_test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 868 Bytes
一键复制 编辑 原始数据 按行查看 历史
yebail-ss 提交于 2021-12-04 15:08 . 上传主题文件
---
layout: main
---
{% for post in paginator.posts %}
<article class="post">
{% if post.img %}
<a class="post-thumbnail" style="background-image: url({{"/assets/img/" | prepend: site.baseurl | append : post.img}})" href="{{post.url | prepend: site.baseurl}}"></a>
{% else %}
{% endif %}
<div class="post-content">
<h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
<p>{{ post.content | strip_html | truncatewords: 15 }}</p>
<span class="post-date">{{post.date | date: '%Y, %b %d'}}&nbsp;&nbsp;&nbsp;&nbsp;</span>
<span class="post-words">{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
</div>
</article>
{% endfor %}
{% include pagination.html %}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yebail-ss/jekyll_test.git
git@gitee.com:yebail-ss/jekyll_test.git
yebail-ss
jekyll_test
jekyll_test
master

搜索帮助