funkydan2 / alpha-church

Hugo theme for churches based on a html5up theme
https://alpha-church.netlify.app
Other
68 stars 59 forks source link

How to use Bible popups? #47

Closed yodermk closed 1 year ago

yodermk commented 1 year ago

Hello,

Thinking about using this for our church (if I can make editing it non-geeky enough for pastor's wife, which is yet to be seen).

I can't figure out what I need to put in content pages to make Bible popups. I have the config. Can an example of this be added please?

Thanks!

funkydan2 commented 1 year ago

Hi @yodermk,

The Bible popups are configured at a site level - not for each page. All you need to do is in your config file (hugo.yaml) set these parameters:

bible_popups: faithlife
bible_version: NIV  

(There are other options available. See https://github.com/funkydan2/alpha-church/blob/3217eae9e7e76005563e0557901c61cd04194a33/exampleSite/config.toml#L91)

With this option enabled, biblical references will automatically be discovered...if they're in the right format. So John 3:16 would get a popup, but Zechariah 1-2 doesn't. I don't know if there's a way around that (with the Faithlife Library).


As to making the site non-geek friendly...I'm not sure about this yet!

I'd look into some of the Static Site friendly CMS options. Read this thread on the Hugo forums for some ideas.

I was using Forestry.io for a while—it's now https://tina.io/. But I'm (geeky pastor) finding it simple enough to maintain using VSCODE.

yodermk commented 1 year ago

Doh! That does work. Somehow I missed that and thought I'd have to put in some Markdown extension. Sorry for the bother. Also, later this morning when I was showing my original POC to the pastor's wife, I noticed that it did it in the sermon reference text. So that is good. Also she says she can probably edit the Markdown, so we're probably good. I'll probably write a Bash menu system to run the necessary commands. Thanks for the response! Maybe I'll submit some PRs while working through this.