riptano / docs-ui

The UI and theme for DataStax Docs.
https://riptano.github.io/docs-ui/
Mozilla Public License 2.0
2 stars 0 forks source link

Use variables instead of explicit URLs #122

Closed eric-schneider closed 5 months ago

eric-schneider commented 5 months ago

This started out as @mlr and I's attempt to fix the homepage link on the 404 page. I then noticed a few URLs that could probably be made more durable using variables.

@colegoldsmith, Ronnie and I are pretty unfamiliar with variables and handlebars, but after a little testing we think these are working as expected. I'm also pretty unfamiliar with the proper use of double and triple mustaches, and I don't know how all of these meta properties are supposed to work. Can you pick up where we left off?

mlr commented 5 months ago

UI bundle preview build successful! :white_check_mark: Deploying preview to GitHub Pages. Deployment successful! View preview

mlr commented 5 months ago

Antora site build successful! :white_check_mark: Deploying draft to GitHub Pages. Deployment successful! View draft

colegoldsmith commented 5 months ago

@eric-schneider Apologies for the late reply here. The double vs triple moustache is that double is html escaped, triple is not https://handlebarsjs.com/guide/expressions.html#html-escaping