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

Add a way to specify the attachments for Page Bundles to be copied to bundle directory #140

Open
kaushalmodi opened this Issue Feb 28, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@kaushalmodi
Copy link
Owner

kaushalmodi commented Feb 28, 2018

No description provided.

@kaushalmodi

This comment has been minimized.

Copy link
Owner Author

kaushalmodi commented Apr 23, 2018

They are copied at the moment if the image is added to the post using the Org figure inserting markup. This issue is for copying the images in the cases where you don't want to insert the images using Org, but using the Hugo template function .Resources.Match or .Resources.GetMatch.

The idea would be to may be list the images in the HUGO_IMAGES and then copy those images to the content.

@kaushalmodi

This comment has been minimized.

Copy link
Owner Author

kaushalmodi commented Sep 6, 2018

May be add attributes to the Org image syntax.

  • #+attr_hugo: :meta t will do the image copy and only add/append it to images front-matter.
  • #+attr_hugo: :meta t :body t will do the image copy, add/append it to images front-matter, and also put the image in the exported Markdown body.

The default behavior is :body t.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment