Skip to content

Commit

Permalink
Merge pull request #16 from 21000-lwy/main
Browse files Browse the repository at this point in the history
Update news.html
  • Loading branch information
FenjuFu authored Oct 25, 2024
2 parents b0baa0c + 0f15d8f commit 29a139a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions themes/meghna-hugo/layouts/partials/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
{{ range first 3 (where site.RegularPages "Section" "==" "news")}}
{{ .Render "article2"}}
{{ end }}
<!-- 添加“显示更多新闻”按钮 -->
<div class="all-post text-center col-lg-12">
<a class="btn btn-main" href="{{ `news/` | absLangURL }}">{{ i18n "viewAllnews" }}</a>
</div>
</div>
</div>
</section>
{{"<!-- /news -->" | safeHTML}}
{{ end }}
{{ end }}

0 comments on commit 29a139a

Please sign in to comment.