Skip to content

Commit

Permalink
fix: ellipsis color
Browse files Browse the repository at this point in the history
closes #1044
  • Loading branch information
davidsneighbour committed Jun 17, 2024
1 parent 94fc710 commit 1e44d7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/content/components/headline.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- $post := .post -}}
{{- $headerlevel := .level | compare.Default 2 -}}
{{- fmt.Printf "<h%d class=\"post-title text-truncate text-truncate-2\">" $headerlevel | safe.HTML -}}
<a href="{{- $post.Permalink -}}" title="{{- $post.Title | transform.Markdownify -}}">
{{- fmt.Printf "<h%d class=\"post-title\">" $headerlevel | safe.HTML -}}
<a href="{{- $post.Permalink -}}" title="{{- $post.Title | transform.Markdownify -}}" class="text-truncate text-truncate-2">
{{- $post.Title | transform.Markdownify -}}
</a>
{{- fmt.Printf "</h%d>" $headerlevel | safe.HTML -}}

0 comments on commit 1e44d7e

Please sign in to comment.