4 ms·
Everone seems to be raving about Hugo so I'll give it a chance. Let's see how it goes. I did give a quick glance at the templating syntax and it certainly was e
by artemis73 9y ago
Everone seems to be raving about Hugo so I'll give it a chance. Let's see how it goes. I did give a quick glance at the templating syntax and it certainly was easy to grasp.
I haven't used Lisp so I'm not sure of how similar they are.
Org mode support seems to be interesting. I've always wanted to pick that up as well. Could you share some good resources you might be aware of? A quick Google search led me to some really old articles. Thank you for bringing this up! I appreciate it :)
- kaushalmodi 9y ago> I haven't used Lisp so I'm not sure of how similar they are. As I said, I can see the syntax to be easy to grasp for anyone knowing any coding language. But Lisp fans would be in for a treat. In very simple terms, a list function always had the function symbol or identifier as the first element of a list (everything is a list in Lisp), and any number of arguments have to follow after that. Example of an add function in Lisp: (add 1 2) The same thing in Go templates: {{ add 1 2 }} > Org mode support seems to be interesting. I've always wanted to pick that up as well. Could you share some good resources you might be aware of? If you use Emacs, the best Org reference is the Org Info manual. Do `C-h i` to open info within Emacs and jump to the Org manual. (You probably aren't using Emacs as you mentioned that you are not familiar with Lisp. So may be this tidbit helps someone else). If not using Emacs, - Check out the section on Markup[1] in the official Org manual in HTML. - My blog source in Org[2] - Source of ox-hugo.scripter.co website (100% of the content) from this one Org file [3] If you don't want to get into too much detail: * Heading level 1 ** Heading level 2, and so on *bold* /italics/ _underline_ +strikethrough+ - list item 1 - list item 2 1. ordered list item 1 2. ordered list item 2 But if you are really getting into Org syntax, here's the mega test file[4] for ox-hugo package that exports to 100's (literally) of Hugo content posts here[5] and gets rendered to HTML by Hugo on https://ox-hugo.scripter.co/test/ https://ox-hugo.scripter.co/test/. The good news is that you don't have to use Emacs for Org mode, if you plan to use Org mode just like Markdown (and may be a little bit more). If you do use or end up using Emacs, then Org mode is like 1000x Markdown (or may be more :) ). > Thank you for bringing this up! I appreciate it :) You are welcome. Hopefully this response wasn't too much of an information overload. [1]: https://orgmode.org/manual/Markup.html https://orgmode.org/manual/Markup.html [2]: https://gitlab.com/kaushalmodi/kaushalmodi.gitlab.io/raw/master/content-org/scripter-posts.org https://gitlab.com/kaushalmodi/kaushalmodi.gitlab.io/raw/mas... [3]: https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/doc/ox-hugo-manual.org https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master... [4]: https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/all-posts.org https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master... [5]: https://github.com/kaushalmodi/ox-hugo/tree/master/test/site/content/posts https://github.com/kaushalmodi/ox-hugo/tree/master/test/site...
- artemis73 9y agoThat's pretty good. Can comprehend the syntax pretty easily. It also seems to be a tad bit similar to Jinja's syntax which I'm familiar with so this shouldn't be a problem at all. Thank you for the detailed explanation though. I appreciate it! I wasn't even aware that Emacs has a detailed reference built in for Org. Oh well! I should start using Emacs more I guess. And once again, thank you for all the links. The information dump is great, actually. I've got enough material to put things in place and start working with Org mode.