Skip to content

Commit

Permalink
revert: feat: humanize list and term titles
Browse files Browse the repository at this point in the history
This reverts commit c3cd77a.
  • Loading branch information
wangchucheng committed Jul 9, 2022
1 parent 35d73de commit 0e33c66
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ range .Pages }}
<h2 class="text-primary-text my-2 text-lg">
<a href="{{ .Permalink }}" class="text-eureka hover:underline"
>{{ .LinkTitle | humanize | title }}</a
>{{ .LinkTitle }}</a
>
</h2>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/authors/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ range .Pages }}
<h2 class="text-primary-text my-2 text-lg">
<a href="{{ .Permalink }}" class="text-eureka hover:underline"
>{{ .LinkTitle | humanize | title }}</a
>{{ .LinkTitle }}</a
>
</h2>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/components/list-article.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<article class="prose mx-6 my-8">
<h1>{{ .Title | humanize | title }}</h1>
<h1>{{ .Title }}</h1>
{{ with .Content }}
{{ . }}
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/components/post-author.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
href="{{ .Permalink }}"
class="mb-2 block border-b pb-1 text-lg font-bold"
>
<h3>{{ .LinkTitle | humanize | title }}</h3>
<h3>{{ .LinkTitle }}</h3>
</a>
<span class="block pb-2">{{ .Params.bio }}</span>
{{ range .Params.social }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/components/post-metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<span>, </span>
{{ end -}}
<a href="{{ .Permalink }}" class="hover:text-eureka"
>{{ .LinkTitle | humanize | title }}</a
>{{ .LinkTitle }}</a
>
{{ end }}
</div>
Expand All @@ -34,7 +34,7 @@
<span>, </span>
{{ end -}}
<a href="{{ .Permalink }}" class="hover:text-eureka"
>{{ .LinkTitle | humanize | title }}</a
>{{ .LinkTitle }}</a
>
{{ end }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/components/post-tags.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="my-4">
{{ range $index, $value := . }}
<a href="{{ .Permalink }}" class="inline-block bg-tertiary-bg text-sm rounded px-3 py-1 my-1 me-2 hover:text-eureka">#{{ .LinkTitle | humanize | title }}</a>
<a href="{{ .Permalink }}" class="inline-block bg-tertiary-bg text-sm rounded px-3 py-1 my-1 me-2 hover:text-eureka">#{{ .LinkTitle }}</a>
{{ end }}
</div>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"css/eureka.min.7c8311a21e9f6f91046e129f193b649a97732d830f86f6dc0b7b3b7780132785f284781dee34abd82717da2ee18963d5.css","MediaType":"text/css","Data":{"Integrity":"sha384-fIMRoh6fb5EEbhKfGTtkmpdzLYMPhvbcC3s7d4ATJ4XyhHgd7jSr2CcX2i7hiWPV"}}
{"Target":"css/eureka.min.285ffbef699dc9f3cf8dcb0803da149f8b646794b7f78a37380928daea2d746cd084512d0a3b592c47d0c71a18a88c7d.css","MediaType":"text/css","Data":{"Integrity":"sha384-KF/772mdyfPPjcsIA9oUn4tkZ5S394o3OAko2uotdGzQhFEtCjtZLEfQxxoYqIx9"}}

0 comments on commit 0e33c66

Please sign in to comment.