Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use variables instead of explicit URLs #122

Merged
merged 1 commit into from
May 3, 2024
Merged

Conversation

eric-schneider
Copy link
Contributor

@eric-schneider eric-schneider commented Apr 25, 2024

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?

@eric-schneider eric-schneider changed the title Use variables instead of explicite URLs Use variables instead of explicit URLs Apr 25, 2024
@mlr
Copy link
Contributor

mlr commented Apr 25, 2024

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

@mlr
Copy link
Contributor

mlr commented Apr 25, 2024

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

@colegoldsmith
Copy link
Collaborator

@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

Copy link
Collaborator

@colegoldsmith colegoldsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@eric-schneider eric-schneider merged commit 2472368 into main May 3, 2024
2 checks passed
@eric-schneider eric-schneider deleted the variable-urls branch May 3, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants