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

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

Closed
kaushalmodi opened this issue Feb 28, 2018 · 3 comments

Comments

@kaushalmodi
Copy link
Owner

No description provided.

@kaushalmodi
Copy link
Owner Author

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
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.

@kaushalmodi
Copy link
Owner Author

This feature was added in #284.

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

No branches or pull requests

1 participant