From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kOxRDoLD0V81DQAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 06:43:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wGNACoLD0V/cBAAA1q6Kng (envelope-from ) for ; Thu, 10 Dec 2020 06:43:14 +0000 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 EF8C59403EE for ; Thu, 10 Dec 2020 06:43:12 +0000 (UTC) Received: from localhost ([::1]:44204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knFfT-0003ke-Rf for larch@yhetil.org; Thu, 10 Dec 2020 01:43:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knFer-0003jA-8I for emacs-orgmode@gnu.org; Thu, 10 Dec 2020 01:42:33 -0500 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:42801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knFep-00041A-DJ for emacs-orgmode@gnu.org; Thu, 10 Dec 2020 01:42:32 -0500 Received: by mail-ot1-x336.google.com with SMTP id 11so3918081oty.9 for ; Wed, 09 Dec 2020 22:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=iuvPG5Fb0QTDYfBZ+498pcIJPMgTVXGbBlNBD00IXD0=; b=eh/L1lWSCehJEsIPqgussVV5EY1gR1fFT6JYaAowxrjN8b87gYsPaW2+B6kY1ti26h rFGFXiZaTdYUxHKt+i13H/Sz8UHXIEydPCxEV7qBu/e7uV1IwP+fviD44lkguvEso+Zy Ud+vRbaxlPX08RkISH7enF8EmGeFVTTSG/pQmx+SdMJKqxNc44jLt0hQofmd/anGzBRF //Svb/0aXDagLDTpAcO00hYNUn/gPIZrrSs+Vm/UO4XdLC4ypiVjnGyk1NBH4A+jGyy9 fVcxgJD55hvg4gmXm8Mjcdh2ZmczW1zCOepuL3T+/nGJofQGMUd9Q2mlRJV7ioQOXswH x0ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=iuvPG5Fb0QTDYfBZ+498pcIJPMgTVXGbBlNBD00IXD0=; b=ZbE+2MPlWxdK8LGLMYm2Db7lwvzbll06wetEnoShDcNem4UsalIsaWl7YcNdqlDxSH 2b2DltkQ+oJsDBanE2Wdgf1RaP0F8A5gqqDEw9RHL9PedEz8pp0g2pCZqqiPOl6cI5Y6 J2JxlGotvfAPTErDtuYhJ7BbmQCFWc0c3jyFqpCasDVPHU04lzUbHvGznogMgirEqXhI AvF73jHEsSRiqF0EkC3JCdBaUpvzmHYR/qIiRi14NacY3LkL88XKAYFLO1VBR2LMwUrp F4//6gQL8732GBNbqchD0AwOHWgtT6l+9NIxgWQUKJ8F/uJKR8Xv6PSgxB/blIadGvhL QJWw== X-Gm-Message-State: AOAM533RkjSe58rTYQMfKoRRwnllnVULIlVSy/+fqB3isfKZaNFzvfO/ LFxOHeVNEVBCH/jLzrXHFMlKULvvE+Bkt63mVoUPN6gYsKo= X-Google-Smtp-Source: ABdhPJxlIKeZHShPZrybiKWxCCzZHKkAcEPV279qJRlx2610W9ldHMnF/zrnQJP9mVEbUU/XO5P46q47DTXFtQ464tw= X-Received: by 2002:a05:6830:1be9:: with SMTP id k9mr4832455otb.226.1607582549348; Wed, 09 Dec 2020 22:42:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alejandro Alcalde Date: Thu, 10 Dec 2020 07:42:18 +0100 Message-ID: Subject: Re: Migrating from HUGO to org-publish To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000cd15c405b6167ab1" Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=algui91@gmail.com; helo=mail-ot1-x336.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=eh/L1lWS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: EF8C59403EE X-Spam-Score: -0.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: MxKzuvpYBKiS --000000000000cd15c405b6167ab1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, at the end I manage to migrate without losing all hugo content. https://elbauldelprogramador.com/org-posts/migrating-from-hugo-to-org-mode.= html Alejandro Alcalde schrieb am Di. 12. Mai 2020 um 14:40: > Hello, I am looking to migrate from Hugo to org-publish, is there an easy > way? I=E2=80=99ve have found several guides to migrate from jekyll, like = this one: > https://duncan.codes/posts/2019-09-03-migrating-from-jekyll-to-org/index.= html > 2 > > > Unfortunately I do not know how to do it smoothly with my set up. > > I have some posts written in plain org, that is no problem. But I also > have the majority of my blog posts written in markdown (With YAML header > and TOML header), since I once migrated from Jekyll to Hugo. > > I though maybe pandoc could help me in the process, but when converting a > markdown file to org, I am loosing all TOML or YAML headers, so the > resulting org file have no #+ properties. > > Any suggestions? I could write some python code that read YAML and TOML > headers and output, but I have lots of custom headers ( > https://github.com/elbaulp/algui91-hugo/blob/master/content/post/create-d= eploy-telegram-bot.en.md) > like url that will cause 404 errors when migrating to org-publish > > Thanks and Have a nice day. > > > *-- Alejandro Alcalde - elbauldelprogramador.com > * > --=20 *-- Alejandro Alcalde - elbauldelprogramador.com * --000000000000cd15c405b6167ab1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, at the end I manage to migrate without losing all = hugo content.=C2=A0



Alejandro Alcalde <algui91@gmail.com> schrieb am Di. 12. Mai 2= 020 um 14:40:

Hello, I am= looking to migrate from Hugo to org-publish, is there an easy way? I=E2=80= =99ve have found several guides to migrate from jekyll, like this one:=C2= =A0https://duncan.codes/posts/2019-09-03= -migrating-from-jekyll-to-org/index.html=C2=A02=

Unfo= rtunately I do not know how to do it smoothly with my set up.

I have some post= s written in plain org, that is no problem. But I also have the majority of= my blog posts written in markdown (With YAML header and TOML header), sinc= e I once migrated from Jekyll to Hugo.

I though maybe pandoc could help me in th= e process, but when converting a markdown file to org, I am loosing all TOM= L or YAML headers, so the resulting org file have no #+ properties.

Any suggesti= ons? I could write some python code that read YAML and TOML headers and out= put, but I have lots of custom headers (https://github.com/elbaulp/algui91-hugo/blob/master/con= tent/post/create-deploy-telegram-bot.en.md) like=C2=A0url=C2=A0that will cause 404 errors w= hen migrating to org-publish

Thanks and Have a nice day.


-- Alejandro Alcalde - elbauldelprogramador= .com
--
<= div>
-- Alej= andro Alcalde - elbauldelprogramador.com=
--000000000000cd15c405b6167ab1--