Skip to content

joshix/jxnu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joshix.com New Underneath (jxnu)

Markdown source and configuration for the joshix.com web site.

Prerequisites

Change and test the site

With hugo web server

Hugo serve automatically overrides baseURL and recompiles the site when a file changes. Under -D, build drafts. Under -F, build future dates.

hugo [-DF] serve

With firebase web server

Run hugo with a temporary baseURL to compile the site. Serve the result with firebase serve.

cd /path/to/jxnu
hugo [-DF] --baseURL http://localhost:5005/
firebase serve

Deploy the site

Run hugo to compile the site. Deploy the result to Firebase Hosting.

cd /path/to/jxnu
rm -rf public
hugo
firebase deploy

Firebase Redirects

See firebase.json.

Images

Markdown (no float styling in theme css)

![OpenShift for Developers, 2e, book cover][coverimg]

See the source and rendered scrub jay post for an example.

Inline HTML to wrap text around the image

<img src="/img/openshift-book-cover.jpg" alt="OpenShift for Developers, 2e, book cover" style="float: right; margin: 0 40px 40px 40px;">

See the source and rendered OpenShift book announcement post for an example.

Legal

Methods, tools, and scripts are shared under the ASL or their own license. Text and images beneath content/ and/or as published on joshix.com are Copyright (C) 2000-2022 Josh Wood, except where noted. All rights reserved.