diff options
Diffstat (limited to '2023/talks/one.md')
-rw-r--r-- | 2023/talks/one.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/2023/talks/one.md b/2023/talks/one.md index ec4f575d..d41f0acf 100644 --- a/2023/talks/one.md +++ b/2023/talks/one.md @@ -36,7 +36,7 @@ one.el: Below you can see the basics of a one.el website. In one.el, the following org file/buffer defines a website with 2 -pages that we build by calling \`one-build\` command while we are visiting +pages that we build by calling `one-build` command while we are visiting it: *** My website @@ -119,23 +119,23 @@ it: - Q: does the "one" part of one.el refers to one source file? - Does one.el support #+include: to add from other (org) files? -- Q: What\'s the main motivation for this new package? I used to use +- Q: What's the main motivation for this new package? I used to use ox-hugo and use github action to build the blog. (Curious as well, as I use ox-hugo and have almost 1000 pages) - A: Mapping from org-mode to Hugo added another system to understand; wanted Emacs centric approach. (<https://one.tonyaldon.com/> has some rational) - - understand. For me, it\'s just org-mode, ox-hugo take care of + - understand. For me, it's just org-mode, ox-hugo take care of the rest. And I find it is easy for me. Maybe, I am not used it so much. Full control definiitely requires your package. -- Q: Is it possible to use \#+include to add content from other files? +- Q: Is it possible to use #+include to add content from other files? - A: Not included; the idea was to only have one file. It is possible to code what you want in elisp. - Perhaps org-transclusion would play with this? - Q: Can this generate a single site from different sources like blog.org (for example.org/blog/), videos.org (for example.org/videos/), contact.org (for example.org/contact/), etc? - - A: Refer to the previous question\'s answer + - A: Refer to the previous question's answer - Q:Do you have pre-made templates already along with the one.el package? - A:Yes and no. There are quite a few constructs/templates in the @@ -144,10 +144,10 @@ it: - Q: What additional features are there that you would like to add to one.el in the future? - A: A full text search - - (Comment not from presenter:) I\'ve used Lunrjs which is a JS + - (Comment not from presenter:) I've used Lunrjs which is a JS package that keeps all things local; but your site generator does need to kick out a JSON representation of the content (e.g. - path, text, tags/keywords). I\'ve been considering + path, text, tags/keywords). I've been considering <http://elasticlunr.com/> - Q:Can you create navbars on a website and fancy things like carousels (pictures rolling/sliding from one to another) using @@ -159,7 +159,7 @@ it: document into jack-html form? - A: - One challenge is that HTML documents do not need to be - \"precise\" (you don\'t need to close tags). So finding a + "precise" (you don't need to close tags). So finding a tree-parser for HTML (perhaps treesitter?) to build the conceptual tree. - Q: Does this or you use any other Emacs Packages for your |