Skip to content
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

figure attr and attrlink broken #258

Open
soofaloofa opened this issue Mar 29, 2019 · 2 comments · May be fixed by #438
Open

figure attr and attrlink broken #258

soofaloofa opened this issue Mar 29, 2019 · 2 comments · May be fixed by #438

Comments

@soofaloofa
Copy link
Contributor

The {{< figure ... >}} supports attr and attrlink parameters to link back to the original image. The beautifulhugo implementation of this is currently broken. Attempting to set attrlink results in:

themes/beautifulhugo/layouts/shortcodes/figure.html:23:58": execute of template failed: template: shortcodes/figure.html:23:58: executing "shortcodes/figure.html" at <.Get>: can't evaluate field Get in type string
@kakila
Copy link

kakila commented Oct 4, 2021

Indeed, attrtlink is still broken

@ahelwer
Copy link

ahelwer commented Jul 15, 2022

Can confirm, is still broken.

ahelwer added a commit to ahelwer/beautifulhugo that referenced this issue Jul 15, 2022
Have to use `$` to operate from the root scope inside a `with`
Closes halogenica#258
@kmorel kmorel linked a pull request Aug 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants