mirror of
https://github.com/welpo/tabi.git
synced 2026-05-13 17:47:34 +02:00
✨ feat(shortcodes): support URLs for image source (#280)
This commit is contained in:
parent
90def02dd7
commit
ed845eaf25
9 changed files with 146 additions and 104 deletions
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Shortcodes personalitzats"
|
||||
date = 2023-02-19
|
||||
updated = 2023-11-24
|
||||
updated = 2024-02-16
|
||||
description = "Aquest tema inclou alguns shortcodes personalitzats útils que pots utilitzar per millorar les teves publicacions. Ja sigui per mostrar imatges que s'adapten als temes clar i fosc, o per donar format a una secció de referències amb un aspecte professional, aquests shortcodes personalitzats t'ajudaran."
|
||||
|
||||
[taxonomies]
|
||||
|
|
@ -20,6 +20,8 @@ social_media_card = "social_cards/ca_blog_shortcodes.jpg"
|
|||
|
||||
**Nota 2**: a partir del [PR #222](https://github.com/welpo/tabi/pull/222) (commit [7796162](https://github.com/welpo/tabi/commit/7796162e378cacb9b4d6129f95138121224714f1)), tots els shortcodes d'imatges suporten rutes relatives pel paràmetre `src`.
|
||||
|
||||
**Nota 3**: a partir del [PR #280](https://github.com/welpo/tabi/pull/280), tots els shortcodes d'imatges admeten imatges remotes pel paràmetre `src`.
|
||||
|
||||
### Imatges per a temes duals
|
||||
|
||||
Útil si vols utilitzar una imatge diferent pels temes clar i fosc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue