From 4b72e1b5eeca686365653989666c3a5f70ce8975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Wed, 12 Jun 2024 10:14:36 +0200 Subject: [PATCH] add wrapping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dirk Müller --- README.md | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 19e955d..4c0c795 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,49 @@ # openela.org website -The openela.org website is managed using `Hugo`. You can install it using your favorite package manager. +The openela.org website is managed using `Hugo`. You can install it using +your favorite package manager. ## Setup -Ensure you have the "Extended" version of Hugo, which includes features required by this repository. +Ensure you have the "Extended" version of Hugo, which includes features +required by this repository. ### Linux -Hugo is available in many package managers (but not EPEL, yet). Downloading the latest release binary from github is an easy option. +Hugo is available in many package managers (but not EPEL, yet). Downloading +the latest release binary from github is an easy option. ### Mac -`brew install go` -`brew install hugo` -`brew install sass/sass/sass` +`brew install go` +`brew install hugo` +`brew install sass/sass/sass` ## Building locally -To build the static site to the `public/` folder (i.e., for release) run `hugo`. +To build the static site to the `public/` folder (i.e., for release) run +`hugo`. -To run hugo in server mode and view the site in real time on your computer as you make updates, run `hugo server` +To run hugo in server mode and view the site in real time on your computer as +you make updates, run `hugo server` -By default this will run the service locally on http://localhost:1313/ +By default this will run the service locally on http://localhost:1313/ ## Adding Content -To add new content to the site, decide what type of content it is (announcement, blog, news), and run +To add new content to the site, decide what type of content it is +(announcement, blog, news), and run ``` hugo new content content//Post-Title-Separated-By-Dashes.md ``` -For example, to create a new Blog post titled "My First Blog" with the url /blog/my-first-blog, you'd run +For example, to create a new Blog post titled "My First Blog" with the url +/blog/my-first-blog, you'd run ``` hugo new content content/blog/my-first-blog.md ``` -Then, open the file and edit as required. Make sure to set the post to *not* be a draft before publishing it. +Then, open the file and edit as required. Make sure to set the post to *not* +be a draft before publishing it.