-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
{{/* Expects an array of objects with .link and .text fields */}} | ||
<div class="w-[75%] mx-auto mt-4 border border-x-0 border-b-0 border-t-gray-300 p-4 flex flex-col sm:flex-row justify-center items-center gap-3"> | ||
<span>See also: </span> | ||
{{ range $x := . }} | ||
<a class="btn btn-sm btn-outline no-underline text-sm text-secondary" href="{{ .link }}"> | ||
<div | ||
class="w-[75%] mx-auto mt-4 border border-x-0 border-b-0 border-t-gray-300 p-4 flex flex-row flex-wrap justify-center items-center"> | ||
<div class="px-2">See also:</div> | ||
<div class="flex flex-row justify-center items-center"> | ||
{{ range $x := . }} | ||
<a class="btn btn-link px-2" href="{{ .link }}"> | ||
{{ .text }} | ||
</a> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters