-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shortcodes/paige/image.html: param "style" is missing #14
Comments
Hi @jotwg, thanks for the suggestion. I’d like to understand your situation. What would you set style for? |
see my reply email |
What email? I only see these two messages:
|
-------- Forwarded Message --------
Subject: Re: [willfaught/paige] shortcodes/paige/image.html: param
"style" is missing (Issue #14)
Date: Sat, 25 Mar 2023 20:47:53 +0100
From: Joeri Canis ***@***.***>
To: Will Faught ***@***.***>
Hi,
On 25.03.2023 20:10, Will Faught wrote:
Hi @jotwg <https://github.com/jotwg>, thanks for the suggestion. I’d
like to understand your situation. What would you set style for?for example "float: left;" etc. for small images, see
https://cloudi.myfirewall.org/camino2007/vorbereitungen/
(sorry, site is in German only and still in draft...)
I've to admit that I switched to hugo-profile because it's design fits a
bit better to my ideas.
However, your code looks *way* better (as far as I can judge, I'm a
total Hugo newbie), so I'm about to "steal" some pieces here and there,
that's why I'm looking at your shortcodes...
…
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGOALNUYF5CUMKF5VDJVODW547KHANCNFSM6AAAAAAWHWE24U>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks! What is it you need to style here? Which CSS properties would you set? |
in this case:
i.e. I want to let images float to the left or right (or even to the center, but that's more difficult) and define reasonable margins. |
There's a paige/figure shortcode that can wrap a paige/image that provides floating, centering, and margins. For example, see https://willfaught.com/paige/shortcodes/figure/#float-parameter and https://willfaught.com/paige/shortcodes/image/#figure. Is that sufficient? |
indeed! (should read the docs more thoroughly, sorry...) |
Can't pass parameter "style" to paige/img shortcode, I think image.html should look like this:
cheers
The text was updated successfully, but these errors were encountered: