Skip to content

Commit

Permalink
feat: Adds translations references
Browse files Browse the repository at this point in the history
  • Loading branch information
o-leolleo committed Feb 13, 2024
1 parent a6968cb commit 3a6bb84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{{ $shouldCenter := cond (gt (len .Pages) 0) "text-center" "" }}
<article class="{{ $shouldCenter }} prose dark:prose-invert mx-auto">
{{ .Content }}
{{ partial "translatedBy.html" . }}
</article>

{{ if len .Pages }}
Expand Down
1 change: 1 addition & 0 deletions layouts/about/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

<article class="{{ $shouldCenter }} prose dark:prose-invert mx-auto">
{{ .Content }}
{{ partial "translatedBy.html" . }}
</article >

<section class="text-center mt-8">
Expand Down
4 changes: 4 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<div class="flex flex-col">
<div class="prose dark:prose-invert text-center md:text-left">
{{ .Content }}

<div class="-mt-4">
{{ partial "translatedBy.html" . }}
</div>
</div>

{{ partial "social.html" . }}
Expand Down

0 comments on commit 3a6bb84

Please sign in to comment.