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

Compare commits

...

3 commits

Author SHA1 Message Date
Rohan Kumar
bbdd38d09b
switch stripe subdomain from buy to donate 2023-11-02 00:45:54 -07:00
Rohan Kumar
429c1b731d
support additional name field for indieweb-author 2023-11-01 13:13:32 -07:00
Rohan Kumar
ac741d2575
add missing itemprop for author 2023-11-01 13:13:14 -07:00
3 changed files with 4 additions and 3 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.
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>}}.
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>}}.
### 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'}")
: Ideal for recurring donations, but also supports one-time payments. Requires a Liberapay account. You may optionally publicize your donation.
[Stripe](https://buy.stripe.com/dR65nv5BWg3icq46oo "{rel='me'}")
[Stripe](https://donate.stripe.com/dR65nv5BWg3icq46oo "{rel='me'}")
: Supports one-time-donations. Does not require an account. Your can't publicize this donation.
[Ko-Fi](https://ko-fi.com/Seirdy "{rel='me'}")

View file

@ -10,7 +10,8 @@
{{- end -}}
<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 "last-name") -}}<span itemprop="familyName" class="p-family-name family-name">{{- .Get "last-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 "nickname") -}}<span class="p-nickname nickname">{{- .Get "nickname" -}}</span>{{- end -}}
{{- if (.Get "name") -}}{{- .Get "name" -}}{{- end -}}
</span>{{- if (.Get "appendString") -}}{{- .Get "appendString" -}}{{- end -}}{{- /* Strip trailing newline: https://github.com/gohugoio/hugo/issues/1753 */ -}}