1 Star 0 Fork 3

罗小爬 / luoex

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tags.html 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
跑马灯 提交于 2023-03-18 13:03 . 汉化、social图标还原颜色
---
layout: page
title: '我的博客'
---
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
{%- capture site_tags -%}
{%- for tag in site.tags -%}
{{- tag | first -}}{%- unless forloop.last -%},{%- endunless -%}
{%- endfor -%}
{%- endcapture -%}
{%- assign tags_list = site_tags | split:',' | sort -%}
{%- for tag in tags_list -%}
<a href="#{{- tag -}}" class="btn btn-primary tag-btn"><i class="fas fa-tag" aria-hidden="true"></i>&nbsp;{{- tag -}}&nbsp;({{site.tags[tag].size}})</a>
{%- endfor -%}
<div id="full-tags-list">
{%- for tag in tags_list -%}
<h2 id="{{- tag -}}" class="linked-section">
<i class="fas fa-tag" aria-hidden="true"></i>
&nbsp;{{- tag -}}&nbsp;({{site.tags[tag].size}})
</h2>
<div class="post-list">
{%- for post in site.tags[tag] -%}
<div class="tag-entry">
<a href="{{ post.url | relative_url }}">{{- post.title | strip_html -}}</a>
<div class="entry-date">
<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: date_format -}}</time>
</div>
</div>
{%- endfor -%}
</div>
{%- endfor -%}
</div>
1
https://gitee.com/luoex/luoex.git
git@gitee.com:luoex/luoex.git
luoex
luoex
luoex
beautiful-jekyll

搜索帮助

53164aa7 5694891 3bd8fe86 5694891