You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on eduardo bouças blog post, I created an image tag to simplify image insertion on posts (with and without captions). It presumes all images are placed under asset/images and all I have to do is to specify image path from that point. The syntax is something like this:
{% include image name="2016/07/MyPostImage.png" caption="The optional image caption" %}
Could be a nice compliment to the gallery helper. If you want to work on a PR that would be cool. I'd suggest trying to use some of the same variable names to keep things consistent.
Based on eduardo bouças blog post, I created an
image
tag to simplify image insertion on posts (with and without captions). It presumes all images are placed underasset/images
and all I have to do is to specify image path from that point. The syntax is something like this:The include file
image
looks like this:I'me wondering if it would be interesting to add this feature to the theme. if yes, I can submit a PR.
What do you think?
The text was updated successfully, but these errors were encountered: