From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MEnVOCeXW2Q9jgAASxT56A (envelope-from ) for ; Wed, 10 May 2023 15:07:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UAdwOCeXW2QDYwEAauVa8A (envelope-from ) for ; Wed, 10 May 2023 15:07:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A69F939FDB for ; Wed, 10 May 2023 15:07:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwjX8-00052k-96; Wed, 10 May 2023 09:07:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pw36x-0001rc-Fo for emacs-orgmode@gnu.org; Mon, 08 May 2023 11:49:15 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pw36v-0002J7-Pq for emacs-orgmode@gnu.org; Mon, 08 May 2023 11:49:15 -0400 Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-6ab0d407a8fso109925a34.0 for ; Mon, 08 May 2023 08:49:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683560952; x=1686152952; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AP2lc7MCB0R5X19eLF/xuItq+VJUH90NLxprGJFbS3Y=; b=S9FIoFWIb7H5IP5k74udmTgBrKFyCmc04i50jwpiVdZJFv1csI/G+lfyqxHUvLtoCk 7XJIivjsNByibcOC+TQXV2u18CaLqqOerR2/EltR+ZLYasst6gdMee4XaEi/S5qmoIt1 Osd1E8+ANrjwia58sJpWLY8DqhmN9KYFrcO2eIOB12em7Nwjvx7BV/Oweq8z6ICQ66BO o1Vl40wfi1T1r29bSzhbaom08lfEfYePYyhohZl59vYCV8+qn2JKjgfB0Zll6BQKFwT9 Uqv9SrZkzGNyDX9L7yOv64yqB8ZC0/oJe//WXcsyYLxfYWwbmQXOsPzEv8m72u2HoP1k 0Zfw== X-Gm-Message-State: AC+VfDxu8jrGFbkeKru0yOxH8SVXaxd6+IbQmCdkttciwkZLiHyf5Wo1 GRVCplKk46ssh5G1PF3BY1MTBFTXgIOPxllXnrs= X-Google-Smtp-Source: ACHHUZ6d3T0PQVYG/Sml5B/m0njukh4pJnUtni1HaSKopb9Z+qDeFZwYv7UcJP4b41t4LIPrgYkL2g== X-Received: by 2002:a9d:610b:0:b0:6ab:2b2:ed1c with SMTP id i11-20020a9d610b000000b006ab02b2ed1cmr1462388otj.2.1683560951602; Mon, 08 May 2023 08:49:11 -0700 (PDT) Received: from kairos ([178.239.165.27]) by smtp.gmail.com with ESMTPSA id s4-20020a056830148400b006aaf4ed7e3asm2206779otq.17.2023.05.08.08.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 08:49:11 -0700 (PDT) From: =?utf-8?Q?Vin=C3=ADcius_Moraes?= To: Marcin Borkowski Cc: Org-Mode mailing list Subject: Re: An Org-mode-based blogging engine? References: <877ctj1bnr.fsf@mbork.pl> Date: Mon, 08 May 2023 12:48:50 -0300 In-Reply-To: <877ctj1bnr.fsf@mbork.pl> (Marcin Borkowski's message of "Mon, 08 May 2023 10:15:52 +0200") Message-ID: <878rdy6cyl.fsf@kairos> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.210.43; envelope-from=vinicivsmoraes@gmail.com; helo=mail-ot1-f43.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 10 May 2023 09:07:03 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683724071; a=rsa-sha256; cv=none; b=dbLbJaOxjatTM+dpV0yF5LzKpOftaJWq3SJZ2Jo8Ze+GyUKmnhJXbYdQypssch4V4O9Lvv Hh3Q7Psz3YYyvllTwZShkpCwHmm3nOu0lQYH1SZtGJEmSioxD8u/fVjRZMki8v5neY7bNY E2fU3sIIieoEnvkg3jmKdDzue5VxST8bhINdhkezrEbytpu49+624pCOKOLnpQUqMvd82F ZvD8eW3/7rriXy3xc6k8CWfNoRBgOltPcbpKw0E8axMhKJzGK6zDNFYXj6qE2lvUZRRAZm NOAdy8xkfBezWg0uPBvLPqb1T+G7R+3Ri2DksH2x3pwVb14Q6L7aRFSZHMxnRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683724071; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AP2lc7MCB0R5X19eLF/xuItq+VJUH90NLxprGJFbS3Y=; b=FfBxMBJSljP8S9q9LlXkeTbfSJdN8pmidv1QWRAHApeEEp7CkcoFefq0j2OpfxDnU8RzVp tRXiVhg5R5v2TLXDfHZ77mUXaUZ+qvBGS3gCOMwF1SGS9zKWTDfKmFrBu7htnkZPbmH/lo feXB/cBQD2AP3pL1ub8RHWEV6rdUlT4lgghjrIxU/11xv4KvgUqA+kxV46o0VST5wjDMB9 Qdl2BA4HBrqjkvM7fDsURMyqY5paL477I2xok30X7p2vTBtlvlo4U8WXwsIMlVxchOywb3 K1itM3Knm615iUQ2eOiNc2zKSEjb4ii7Ey+p2w8xHYTDW3mJ98nmbuph1cyFgg== X-Migadu-Spam-Score: 0.29 X-Spam-Score: 0.29 X-Migadu-Queue-Id: A69F939FDB X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: 4VQrE5tiLWU9 Marcin Borkowski writes: > Hello fellow Orgers, > > I'm preparing to set up a new blog, and I'd like to have a fully > Org-mode-based workflow. Ideally, I'd like to be able to do everything > - including publishing the posts - from within Emacs. > > I know about things like "Org publish" and ox-hugo, though I never used > them - and there are probably others - but I'm asking specifically about > two things: > > A. other people's experiences with similar workflows, and > B. tool/workflow recommendations. > > Here are my requirements, in no particular order. > > 1. I want the blog to be fully static HTML+CSS, with a tiny sprinkling > of (my custom) JS. > > 2. I want to publish a whole set of HTML files from a single Org mode > file. I will need to preserve internal links (so that I can link to > another headline and the result will be one post linking to another), > and of course I will need external links. The blog will live on some > server I will have ssh access to, so for publishing it should be enough > to scp some files somewhere. > > 3. I want to be able to fully customize the HTML produced. I want it to > be as simple as possible (but see below). I will also need it to be put > in some kind of a template, so that every page will contain things like > a header, footer and a sidebar. > > 4. I am going, though, to need some custom "blocks" - in HTML parlance, >
s and possibly also s. I want to be able to mark them up > somehow in my Org source and get
and class=3D"...">. Reusing existing markup (like _underline_, which I'm not > going to use) is not enough - I will need more than a dozen of those > custom classes. > > Any thought, suggestions, recommendations? I recommend using Hugo, since it supports org-mode files directly. Setting up Hugo to meet your requirements can be done in many ways, and you can find almost everything you need in their documentation. Although there is a bit of a learning curve, it's nothing that an Emacs user can't handle. For integration and workflow, I've been using the easy-hugo package. It has everything I've needed so far, from writing to publishing to managing. While Hugo does support org files, there are some cases where you need to tinker a bit to make it work properly. For example, the other day, I was trying to publish a poem using verse blocks and it didn't work. All I had to do was trying another way, which was adding "//" at the end of each verse to have proper line breaking. You'll learn many little things like this through experience, and if needed, you can always use HTML/Go code to complement org-mode features. Regardless of which tool path you choose, blogging with org-mode is a great experience. Enjoy the journey! :) Best, --=20 Vin=C3=ADcius Moraes eternodevir.com