From 202f4e03fb9519931142fcd3d76700aeb106a05d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 19 May 2021 20:10:19 +0100 Subject: fix --- README.md | 15 +++++++++++++++ buetow.org.sh | 10 ++++++---- packages/generate.source.sh | 12 +++++++----- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4d7261ae..dedc829f 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,26 @@ This is the source code of my Gemini capsule. You can reach the site(s) here: * Text editor: [Vim](https://www.vim.org) * Gemini server: [a-h/gemini](https://github.com/a-h/gemini) * Some Bash scripting (GNU Bash probably 5.x or higher required) +* ShellCheck is also required to be installed. ## HTTP fallback software used * Web server: [Apache HTTPD](https://httpd.apache.org) +# Usage + +To get started just clone this repo (master branch) and run ./buetow.org.sh. You +will will be prompted with further instructions. + +Once done, you can edit the Gemtext source and then use the buetow.org.sh script +to generate the other output formats such as: + +* HTML +* Markdown (works also with GitHub pages as you saw) +* Meta (that's only generating meta info for the blog post, used for Atom feed generation) + +Do a ./buetow.org.sh --help for a list of all available arguments. + ## TODO These are things I want to do with this project in near future: diff --git a/buetow.org.sh b/buetow.org.sh index da8a99d7..ecb70711 100755 --- a/buetow.org.sh +++ b/buetow.org.sh @@ -27,10 +27,12 @@ source ./packages/md.source.sh help () { cat <