Skip to content

Commit

Permalink
修改摘要显示
Browse files Browse the repository at this point in the history
  • Loading branch information
zuti666 committed Nov 27, 2024
1 parent 59b0b73 commit 554d7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ kramdown:
paginate: 10
lsi: false
quiet: false
excerpt_separator: "\n\n"
excerpt_separator: "\n\n\n\n"
permalink: /:year/:month/:day/:title/
plugins:
- jekyll-github-metadata
Expand Down
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ <h1 class="collection-header" id="sub-title"><span>{{ site.subtitle }}</span></h
<h3 class="repo-list-name">
<a href="{{ site.url }}{{ post.url }}"><span class="top-most-flag">[置顶]</span>{{ post.title }}</a>
</h3>
<post class="description"></post>
<p class="repo-list-description">
{{ post.description | default: "No description available." | strip_html | strip | truncate: 150 }}
{{ post.excerpt | default: "No description available." | strip_html | strip | truncate: 150 }}
</p>
<p class="repo-list-meta">
<span class="meta-info">
Expand Down

0 comments on commit 554d7a6

Please sign in to comment.