Skip to content

Commit

Permalink
chore: format templates
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 2, 2024
1 parent 7c1912b commit a0d058d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions layouts/_default/term.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@
<div class="hb-blog-posts hb-terms-posts hb-module">
{{- range .Paginator.Pages }}
<div class="hb-blog-post hb-terms-post">
<a class="hb-blog-post-title-link d-flex" href="{{ .RelPermalink }}">
<a
class="hb-blog-post-title-link d-flex"
href="{{ .RelPermalink }}">
<span class="me-md-1">
{{ .Title }}
</span>
<span class="hb-blog-post-meta ms-auto d-none d-md-block text-body-secondary text-nowrap">
<span
class="hb-blog-post-meta ms-auto d-none d-md-block text-body-secondary text-nowrap">
{{ .Date | time.Format site.Params.hb.blog.post_date_format }}
</span>
</a>
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/hb/modules/blog/posts-minimalist.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<span class="me-md-1">
{{ .Title }}
</span>
<span class="hb-blog-post-meta ms-auto d-none d-md-block text-body-secondary text-nowrap">
<span
class="hb-blog-post-meta ms-auto d-none d-md-block text-body-secondary text-nowrap">
{{ .Date | time.Format site.Params.hb.blog.post_date_format }}
</span>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
class="flex-grow-1 text-decoration-none d-flex"
title="{{ .Title }}"
href="{{ .RelPermalink }}">
<span class="hb-blog-related-post-title text-truncate text-wrap me-md-2">
<span
class="hb-blog-related-post-title text-truncate text-wrap me-md-2">
{{ .Title }}
</span>
<span class="hb-blog-post-meta ms-auto text-nowrap d-none d-md-block">
Expand Down

0 comments on commit a0d058d

Please sign in to comment.