Skip to content

fix: hightlights URL link is not matching keyword used in button#9

Open
dune73 wants to merge 1 commit into
writeonlycode:mainfrom
dune73:fix-button-link-on-highlights
Open

fix: hightlights URL link is not matching keyword used in button#9
dune73 wants to merge 1 commit into
writeonlycode:mainfrom
dune73:fix-button-link-on-highlights

Conversation

@dune73

@dune73 dune73 commented Jun 27, 2026

Copy link
Copy Markdown

Button primary.html:

<a class="bg-primary hover:bg-primary/90 rounded-lg px-14 py-2 text-white duration-500" href="{{ .href }}">
  {{ .label }}
</a>

highlights.html

         <div class="flex items-center justify-center">
            {{ if (eq (mod $i 2) 0)}}
              {{ partial "components/button/primary" (dict "label" .label "link" .link)}}
            {{ else }}
              {{ partial "components/button/outline" (dict "label" .label "link" .link)}}
            {{ end }}
          </div>

This PR fixes the reference from "link" to "href".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant