mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
✨ feat(blog): add webmention images and section enhancements
- add webmention_dark.webp and webmention_light.webp for dual theme support - update webmentions section with an anchor and image display code
This commit is contained in:
parent
108dfcd5a3
commit
c9036897ff
3 changed files with 6 additions and 2 deletions
BIN
content/blog/mastering-tabi-settings/img/webmention_dark.webp
Normal file
BIN
content/blog/mastering-tabi-settings/img/webmention_dark.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
content/blog/mastering-tabi-settings/img/webmention_light.webp
Normal file
BIN
content/blog/mastering-tabi-settings/img/webmention_light.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Mastering tabi Settings: A Comprehensive Guide"
|
||||
date = 2023-09-18
|
||||
updated = 2025-02-12
|
||||
updated = 2025-02-19
|
||||
description = "Discover the many ways you can customise your tabi site."
|
||||
|
||||
[taxonomies]
|
||||
|
@ -767,7 +767,7 @@ If you have enabled a system globally, but want to disable it on a specific page
|
|||
|
||||
Read [the docs](@/blog/comments/index.md) for more information on the available systems and their setup.
|
||||
|
||||
### Webmentions
|
||||
### Webmentions {#adding-webmentions}
|
||||
|
||||
As described by the recommended W3C standard [Webmention][1] is a simple way to notify any URL when you mention it on your site. From the receiver's perspective, it's a way to request notifications when other sites mention it.
|
||||
|
||||
|
@ -788,6 +788,10 @@ Add the shortcut on the page where you want to display the webmentions:
|
|||
{{/* webmentions() */}}
|
||||
```
|
||||
|
||||
The webmentions section will then be displayed where you added it on the page as follows:
|
||||
|
||||
{{ dual_theme_image(light_src="blog/mastering-tabi-settings/img/webmention_light.webp", dark_src="blog/mastering-tabi-settings/img/webmention_dark.webp" alt="Page footer, showing a 'Site source' link") }}
|
||||
|
||||
[1]: https://www.w3.org/TR/webmention/#abstract-p-1
|
||||
[2]: https://webmention.io/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue