From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ENZnJYsEwF5xVAAA0tVLHw (envelope-from ) for ; Sat, 16 May 2020 15:19:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kE4jIYsEwF4tXQAAbx9fmQ (envelope-from ) for ; Sat, 16 May 2020 15:19:39 +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 17332940BB1 for ; Sat, 16 May 2020 15:19:39 +0000 (UTC) Received: from localhost ([::1]:40652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZybB-0001xc-VU for larch@yhetil.org; Sat, 16 May 2020 11:19:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWuUT-00030u-FC for emacs-orgmode@gnu.org; Fri, 08 May 2020 00:20:01 -0400 Received: from mail-vk1-xa34.google.com ([2607:f8b0:4864:20::a34]:37993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWuUS-00010T-Es for emacs-orgmode@gnu.org; Fri, 08 May 2020 00:20:01 -0400 Received: by mail-vk1-xa34.google.com with SMTP id w68so95493vke.5 for ; Thu, 07 May 2020 21:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pbBjWFpTnpXkkGHGTrOSqznjrmtlfassmJph0cX5UUE=; b=I87EgonEvxFYsXNwKV1jhzNl+OkLGa63caN7vOWZxmgRStmKKWAD56rk/0vG2/Pzvf DKVK7Pqqx6bU58dS/sg3dS7t1B2oTxXGGiZV1FAOSEIJ9PHQ+1zBriTdwK0lRKEGFzt+ 65cy3K6VMg3MlYcrMFiq5RAS1lMazpDQQ5j3roSm/qffeLfbmznrb0Fm/efEMLKAFyXw 4/0beobDqHZi3XQc1p/50+amJmoGnQKNJAJSzKWrsLBVuJtsUM6Nc0gdi9wmO7Xcnsse YFptpT9cWLlpFA0D/MhyUBBt66BdN1US1lIp/ZLJ153GPBUmU0pEbc0vMp3mW/gMJ+Oo Rdrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pbBjWFpTnpXkkGHGTrOSqznjrmtlfassmJph0cX5UUE=; b=jvtAwWvlWhZV6+lZ6pq+vMfJt+pbfZlaBCTdpUwOE2iBQUIMczAQOtKbkEIStOUWk7 JAsRj7ODTg3IKGF+O8zdWD/EE+IPQaLsM8KRTopQ1vT41E9ctAcLY6g1ZIHvu8RExZrb mhhiOLHgJCFr1/OWPD83ugjoLuNG1jELnHyz1kLXFDPa6hujwZI5jyArG+ft3ukF7PqQ V7nEG/8YmKZUpsR0Xiqi91+RSc7E/O+oSZ+GiF/BVsZfNlMTLWpSgVvfbP3nvnd88WYv cS6ie1C9c42+HTmUU54bQgEFkvueGHiXspzIxpAtqZXR20z/Syaece2PLbZ6rZAqZ5w0 ZrUw== X-Gm-Message-State: AGi0PubgbXEPSfScxL8l6X5wUc61bB0riiGUpFtSfL/7QOig/e659f4t EjEstiO4WCE7d3zbzXNVPfXv5AjZ68/OpgNIAOhhP9FUSSXwlw== X-Google-Smtp-Source: APiQypI54QdkknV8xAWkS1vOWCbpycNLVdophcpN8/4mnqHJ3/a/tghV9iDUtmlewFhl8Ro7ptI8jEGxXhLkSn1Cmig= X-Received: by 2002:a1f:9182:: with SMTP id t124mr363504vkd.38.1588911598785; Thu, 07 May 2020 21:19:58 -0700 (PDT) MIME-Version: 1.0 From: Alejandro Alcalde Date: Fri, 8 May 2020 06:19:48 +0200 Message-ID: Subject: Migrating from HUGO to org-publish To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000006cdadf05a51b4fd4" Received-SPF: pass client-ip=2607:f8b0:4864:20::a34; envelope-from=algui91@gmail.com; helo=mail-vk1-xa34.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Sat, 16 May 2020 11:19:00 -0400 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=I87EgonE; 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-Spam-Score: -0.71 X-TUID: CYr878dnktvu --0000000000006cdadf05a51b4fd4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 th= is one: https://duncan.codes/posts/2019-09-03-migrating-from-jekyll-to-org/index.ht= ml 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-dep= loy-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 * --0000000000006cdadf05a51b4fd4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

Unfortunately I do not know how to do i= t smoothly with my set up.

I have some posts written in plain org, that is no pr= oblem. But I also have the majority of my blog posts written in markdown (W= ith YAML header and TOML header), since I once migrated from Jekyll to Hugo= .

I t= hough maybe pandoc could help me in the process, but when converting a mark= down file to org, I am loosing all TOML or YAML headers, so the resulting o= rg file have no #+ properties.

Any suggestions? I could write some python code t= hat read YAML and TOML headers and output, but I have lots of custom header= s (https= ://github.com/elbaulp/algui91-hugo/blob/master/content/post/create-deploy-t= elegram-bot.en.md) like=C2=A0= url=C2=A0that will cause 404 errors when migrating to org-publish

Thanks = and Have a nice day.

-- Alejand= ro Alcalde - elbauldelprogramador.com
--0000000000006cdadf05a51b4fd4--