-
Notifications
You must be signed in to change notification settings - Fork 21
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
Transform filetags on a post into a collection for templates #45
Comments
Hi @AblatedSprocket thanks for taking the time to post this issue! And this sounds like a great idea, yeah! Just documenting in case you or anybody else wants to take a stab at it, we need to split the And I'd fit that in within this function weblorg--parse-org-keyword. More specifically, I'd replace that I'd also add a test for that 😄 |
I've wanted to get involved in the project, I'll try to find some bandwidth to work on this. Thank you for explaining what needs to be done. |
Making the change as you suggested does create a collection of tags accessible to the templates. It also has the unhappy side-effect of forcing the filenames of the generated HTML files to be the full path of the Org file, but hyphenated. So path/to/my/post.org generates a file named path-to-my-post-org.html. I'm trying to understand why this happens, but my elisp is not great. In case anyone is curious, the modified function is below:
|
Hi @AblatedSprocket, thank you so much for writing this up. This looks pretty good as far as I can tell. I would probably think of adding a test to the On the file name that is being generated from weblorg, I can't see anything in your change that could be causing that. We have an issue tracking something slightly different (#27). If you don't figure that out, I'd still suggest to get the PR up, so then I can test your code in my environment! Pretty exciting stuff!! Thank you for taking the time 🙇🏾 |
With the PR #50 merged, @AblatedSprocket do you think there's anything else we would need to do to cover this feature? |
Sorry, I don't know how I missed your comment. This feature's got everything I need out of it. :) |
No worries! Thanks for confirming!! 😄 |
Right now when I use the filetags property in a template, it's a string like
:emacs:general:
Would it be possible to split the tags into a collection you can iterate over?The text was updated successfully, but these errors were encountered: