-
|
One thing I'm missing is that I like to display the text in the image link underneath the image. Currently, it seems only to be used for the As a picture of a picture probably explains it better, this is another site I did which template did do this, and I'd like to replicate it somehow. Generates: Any ideas how I can do this with Relearn please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can use Hugo's |
Beta Was this translation helpful? Give feedback.
-
|
@McShelby - thank you, that was a useful read. More importantly, it gave me a pointer to address this from the hugo perspective rather than the theme, something I had not considered. I didn't want to change all my markdown to use Markdown of: Now produces method:Create new file: Now all my image links are working as I want. Thanks again. |
Beta Was this translation helpful? Give feedback.


@McShelby - thank you, that was a useful read. More importantly, it gave me a pointer to address this from the hugo perspective rather than the theme, something I had not considered.
I didn't want to change all my markdown to use
{{<figure >}}rather than my normal markdown, which didn't take that long once I'd changed approaches.Markdown of:
Now produces
method:
Create new file:
/layouts/_default/_markup/render-image.htmlcontaining: