1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-30 15:22:09 +00:00

Compare commits

..

No commits in common. "bbdd38d09b55e616e4d8d05c9ebdef61a195898a" and "835f3b9b95c8a3e136ede25d23b2bb841e11ec23" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View file

@ -938,7 +938,7 @@ When this is not possible, provide instructions that explain how to use the cont
One key difference between buttons and links is the cursor appearance. Buttons should not turn the cursor into a "hand" or "pointer" icon. The article {{<mention-work itemtype="BlogPosting" itemprop="citation" role="doc-credit">}}{{<cited-work url="https://hidde.blog/some-pointers-on-default-cursors/" name="Some pointers on default cursors" extraName="headline">}} by {{<indieweb-person itemprop="author" name="Hidde de Vries" url="https://hidde.blog/about-me/">}}{{</mention-work>}} covers both sides of the issue. Personally, I think it's best to respect the convention of the browser and OS rather than break it. One key difference between buttons and links is the cursor appearance. Buttons should not turn the cursor into a "hand" or "pointer" icon. The article {{<mention-work itemtype="BlogPosting" itemprop="citation" role="doc-credit">}}{{<cited-work url="https://hidde.blog/some-pointers-on-default-cursors/" name="Some pointers on default cursors" extraName="headline">}} by {{<indieweb-person itemprop="author" name="Hidde de Vries" url="https://hidde.blog/about-me/">}}{{</mention-work>}} covers both sides of the issue. Personally, I think it's best to respect the convention of the browser and OS rather than break it.
Read more about the differences between buttons and links in {{<mention-work itemtype="BlogPosting">}}{{<cited-work url="https://yatil.net/blog/buttons-vs-links" name="Buttons vs. Links" extraName="headline">}} by {{<indieweb-person itemprop="author" url="https://yatil.net/" first-name="Eric" last-name="Eggbert">}}{{</mention-work>}}. Read more about the differences between buttons and links in {{<mention-work itemtype="BlogPosting">}}{{<cited-work url="https://yatil.net/blog/buttons-vs-links" name="Buttons vs. Links" extraName="headline">}} by {{<indieweb-person url="https://yatil.net/" first-name="Eric" last-name="Eggbert">}}{{</mention-work>}}.
### Visible non-interactive semantics ### Visible non-interactive semantics

View file

@ -23,7 +23,7 @@ If you like anything I do and want to support me, you can send me a donation:
[Liberapay](https://liberapay.com/Seirdy/donate "{rel='me'}") [Liberapay](https://liberapay.com/Seirdy/donate "{rel='me'}")
: Ideal for recurring donations, but also supports one-time payments. Requires a Liberapay account. You may optionally publicize your donation. : Ideal for recurring donations, but also supports one-time payments. Requires a Liberapay account. You may optionally publicize your donation.
[Stripe](https://donate.stripe.com/dR65nv5BWg3icq46oo "{rel='me'}") [Stripe](https://buy.stripe.com/dR65nv5BWg3icq46oo "{rel='me'}")
: Supports one-time-donations. Does not require an account. Your can't publicize this donation. : Supports one-time-donations. Does not require an account. Your can't publicize this donation.
[Ko-Fi](https://ko-fi.com/Seirdy "{rel='me'}") [Ko-Fi](https://ko-fi.com/Seirdy "{rel='me'}")

View file

@ -10,8 +10,7 @@
{{- end -}} {{- end -}}
<span itemprop="name" class="p-name fn n"> <span itemprop="name" class="p-name fn n">
{{- if (.Get "first-name") -}}<span itemprop="givenName" class="p-given-name given-name">{{- .Get "first-name" -}}</span>{{- end }} {{- if (.Get "first-name") -}}<span itemprop="givenName" class="p-given-name given-name">{{- .Get "first-name" -}}</span>{{- end }}
{{- if (.Get "addl-name") }} <span itemprop="additionalName" class="p-additional-name additional-name">{{- .Get "addl-name" -}}</span>{{- end -}} {{ if (.Get "last-name") -}}<span itemprop="familyName" class="p-family-name family-name">{{- .Get "last-name" -}}</span>{{- end -}}
{{- if (.Get "last-name") }} <span itemprop="familyName" class="p-family-name family-name">{{- .Get "last-name" -}}</span>{{- end -}}
{{- if (.Get "nickname") -}}<span class="p-nickname nickname">{{- .Get "nickname" -}}</span>{{- end -}} {{- if (.Get "nickname") -}}<span class="p-nickname nickname">{{- .Get "nickname" -}}</span>{{- end -}}
{{- if (.Get "name") -}}{{- .Get "name" -}}{{- end -}} {{- if (.Get "name") -}}{{- .Get "name" -}}{{- end -}}
</span>{{- if (.Get "appendString") -}}{{- .Get "appendString" -}}{{- end -}}{{- /* Strip trailing newline: https://github.com/gohugoio/hugo/issues/1753 */ -}} </span>{{- if (.Get "appendString") -}}{{- .Get "appendString" -}}{{- end -}}{{- /* Strip trailing newline: https://github.com/gohugoio/hugo/issues/1753 */ -}}