家有自己自温暖 大佬有话说 :
请问这个源码应该怎么配置?
<ul class="posts">
{% for post in site.posts %}
<li>
{% for post in site.posts %}
{{ post.date | date_to_string }} <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
{% endfor %}
</ul>
只需要显示博客文章的标题,并不需要显示日期,应该怎么修改呀?
trips 大佬有话说 :
detail?wp的话你去了解下一些PHP文件所在位置应该是没多大问题~https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif
刘备 大佬有话说 :
{{ post.date | date_to_string }}盲猜
家有自己自温暖 大佬有话说 :
trips 大佬有话说 : 2020-7-5 00:11
detail?wp的话你去了解下一些PHP文件所在位置应该是没多大问题~
是yaml不是PHP
家有自己自温暖 大佬有话说 :
刘备 大佬有话说 : 2020-7-5 00:12
{{ post.date | date_to_string }}盲猜
是这串,但是不知道怎么隐藏date_to_string