From: Diego Zamboni <diego@zzamboni.org>
To: ST <smntov@gmail.com>
Cc: Diego Zamboni <diego@zzamboni.org>, emacs-orgmode@gnu.org
Subject: Re: Moving from Jekyll to Orgmode
Date: Sat, 28 Apr 2018 23:40:53 +0200 [thread overview]
Message-ID: <9B08D8CE-B75D-4415-8D9F-2CA9ED27C772@zzamboni.org> (raw)
In-Reply-To: <1524949519.21032.171.camel@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3257 bytes --]
Hi,
> I would like to rewrite my website using Orgmode (till now I used
> Jekyll). It would be nice if you could help me with following questions:
Org-mode is not really a website-publishing tool like Jekyll, although it can be part of the chain. Org-mode at its core is a markup language, although with considerable tooling support from org-mode and related tools in Emacs.
Org-mode would be equivalent to Markdown in this respect. You still need to use a tool to generate/publish your website.
My current favorite is Hugo (http://gohugo.io/ <http://gohugo.io/>) which, just like Jekyll, generated a static website, but has a lot of very nice features.
So, the first step would be to migrate your website from Jekyll to Hugo (https://gohugo.io/tools/migrations/#jekyll <https://gohugo.io/tools/migrations/#jekyll>), including built-in support in Hugo (https://gohugo.io/commands/hugo_import_jekyll/ <https://gohugo.io/commands/hugo_import_jekyll/>). At this point, your posts would still be in Markdown format, but once in Hugo, you can start moving them over to org-mode. My recommendation would be to use the excellent ox-hugo (https://ox-hugo.scripter.co/ <https://ox-hugo.scripter.co/>), which allows you to keep your source files in org-mode but generate proper Markdown files for Hugo.
My answers below assume the above.
> 1. could somebody, please, point me to a tutorial on how to create a
> multilingual site? Like the orgmode.org with EN:FR:JA. Ideally it would
> be if one would have page-aware language switch, i.e. if one is on the
> page orgmode.org/fr/features.html and clicks JA he will be redirected to
> orgmode.org/ja/features.html (and not .../ja/index.html as it is now)…
Hugo has built-in support for multilingual sites: https://gohugo.io/content-management/multilingual/ <https://gohugo.io/content-management/multilingual/> - I’ve never used it so I don’t know how well it works.
> 2. how can one create "prettified" links, i.e. /features/ instead
> of /features.html ? Basically during the website generation for the file
> features.org a directory `features` needs to be created and the html
> file placed into `features/index.html` ... Is there a tutorial on how to
> do that?
Hugo does this by default, but has a lot of options for how URLs are generated: https://gohugo.io/content-management/urls/ <https://gohugo.io/content-management/urls/>
> 3. is there a free modern "corporate" style theme for org-mode?
Org-mode doesn’t have themes, but Hugo does: https://themes.gohugo.io/ <https://themes.gohugo.io/>
I hope this helps. Feel free to look at the source for my website (http://zzamboni.org/ <http://zzamboni.org/>) for inspiration: https://github.com/zzamboni/zzamboni.org <https://github.com/zzamboni/zzamboni.org>. I only recently started migration to org-mode/ox-hugo. You can find all my old posts at https://github.com/zzamboni/zzamboni.org/tree/master/content <https://github.com/zzamboni/zzamboni.org/tree/master/content>, and the newer ones, generated from an org-mode file, at https://github.com/zzamboni/zzamboni.org/blob/master/content-org/zzamboni.org <https://github.com/zzamboni/zzamboni.org/blob/master/content-org/zzamboni.org>.
Best,
—Diego
[-- Attachment #2: Type: text/html, Size: 4835 bytes --]
next prev parent reply other threads:[~2018-04-28 21:45 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-28 21:05 Moving from Jekyll to Orgmode ST
2018-04-28 21:40 ` Diego Zamboni [this message]
2018-04-28 21:42 ` Diego Zamboni
2018-04-28 22:13 ` Scott Randby
2018-04-29 8:50 ` ST
2018-04-29 9:07 ` Bastien
2018-04-29 9:22 ` ST
2018-04-29 12:58 ` Ista Zahn
2018-04-29 14:45 ` Scott Randby
2018-04-29 7:45 ` Saša Janiška
2018-04-29 12:55 ` Luis Roca
2018-04-30 20:28 ` Diego Zamboni
2018-04-30 22:43 ` Kaushal Modi
2018-05-01 18:41 ` Diego Zamboni
2018-05-04 6:49 ` Thomas S. Dye
2018-05-04 13:43 ` Kaushal Modi
2018-05-04 13:53 ` Kaushal Modi
2018-05-04 15:07 ` Thomas S. Dye
2018-04-29 16:45 ` Grant Rettke
2018-04-30 10:58 ` ST
2018-05-05 17:51 ` Rasmus
2018-05-07 8:39 ` ST
2018-05-07 22:21 ` Rasmus
2018-05-09 7:35 ` ST
2018-05-09 8:03 ` Thomas S. Dye
2018-05-09 12:37 ` ST
2018-05-09 11:38 ` Diego Zamboni
2018-05-09 12:21 ` Kaushal Modi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9B08D8CE-B75D-4415-8D9F-2CA9ED27C772@zzamboni.org \
--to=diego@zzamboni.org \
--cc=emacs-orgmode@gnu.org \
--cc=smntov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.