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

blog/using-emacs-to-port-my-blog/ #1

Open
utterances-bot opened this issue Jan 25, 2021 · 7 comments
Open

blog/using-emacs-to-port-my-blog/ #1

utterances-bot opened this issue Jan 25, 2021 · 7 comments

Comments

@utterances-bot
Copy link

Porting my blog to Hugo from inside Emacs | Umar Ahmad

A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.

https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/

Copy link

Nice read, Thanks for the write up.

Copy link

Is it possible to add comments such as with DISQUS? Thanks.

Copy link
Owner

Gleek commented Feb 2, 2021

@AtomicNess123 Is it possible to add comments such as with DISQUS? Thanks.

Yes its possible in hugo. It actually ships with it as far as I'm aware. I've expanded on the reasons of choosing utterances instead in another post. It's mostly because it's lightweight and little lock-in.

@AtomicNess123
Copy link

Thanks for the nice info! I have a last question which is what are the cons and pros of Hugo vs org2blog and other org-based solutions in terms of the "final product" in your expert opinion. I am wondering whether a nice design can be produced using such simple org static web methods as with Hugo.

Copy link
Owner

Gleek commented Feb 2, 2021

@AtomicNess123 I haven't used org2blog so won't be able to comment on it. From the cursory reading of the documentation, it seems that it's main purpose is to publish to wordpress from inside emacs, using an rpc endpoint that wordpress provides.

Hugo, on the other hand, deals with static site generation and natively supports org to do that. There is an ox-hugo package that tries to encapsulate even more aspects of it, but I felt that the native support of org in hugo is enough for my use-case.

I think org-publish is closer to hugo than org2blog. You can try that if you want.

My primary purpose was to have a simple tool that can work with org and also not force me to deal with a lot of tooling outside emacs.

Hugo seems to fit that description currently with the help of a few make commands and snippets.

Copy link
Owner

Gleek commented Feb 2, 2021

@AtomicNess123 Hey! I just came across weblorg. This is new with not many users but seems to do exactly what one would want to create a static blog.

@AtomicNess123
Copy link

Thanks! I will defo have a look. I also found org-static-blog (https://github.com/bastibe/org-static-blog). I wonder how they differ.

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

No branches or pull requests

4 participants