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

Add remaining dynamic variables to templates #1081

Merged
merged 6 commits into from
Feb 28, 2023

Conversation

Kej-r03
Copy link
Contributor

@Kej-r03 Kej-r03 commented Feb 23, 2023

Fixes #1073
I guess now no other template html file remains with this issue

Copy link
Contributor

@fredfalcon fredfalcon left a comment

Choose a reason for hiding this comment

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

Any place the word bugheist appears has to be a variable.

@Kej-r03
Copy link
Contributor Author

Kej-r03 commented Feb 23, 2023

Please take a look at this new commit. Also I would clarify one thing, like in footer.html lines 33, 37, 41, 45, "bugheist" is a part of a url, so its case cannot be altered, that is why I have not touched it.

@fredfalcon
Copy link
Contributor

It looks great thank you so much for those links at the footer we can add new variables, blog_URL etc.

Copy link
Contributor

@fredfalcon fredfalcon left a comment

Choose a reason for hiding this comment

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

thanks for this, I added a few changes and then we're good to merge.

blt/settings.py Outdated Show resolved Hide resolved
blt/settings.py Outdated Show resolved Hide resolved
website/templates/includes/navbar.html Show resolved Hide resolved
website/templates/includes/navbar.html Outdated Show resolved Hide resolved
website/templates/mobile_terms.html Outdated Show resolved Hide resolved
website/templates/mobile_terms.html Outdated Show resolved Hide resolved
website/templates/social.html Outdated Show resolved Hide resolved
@fredfalcon
Copy link
Contributor

@Kej-r03 can you please take a look?

@Kej-r03
Copy link
Contributor Author

Kej-r03 commented Feb 28, 2023

Yes, I will make the changes

@Kej-r03
Copy link
Contributor Author

Kej-r03 commented Feb 28, 2023

@fredfalcon I have made the changes, please take a look

Copy link
Contributor

@fredfalcon fredfalcon left a comment

Choose a reason for hiding this comment

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

Great work! Thank you

@Kej-r03
Copy link
Contributor Author

Kej-r03 commented Feb 28, 2023

@fredfalcon Can I resolve the 2 pending conversations so that it can be merged?

@fredfalcon fredfalcon added this pull request to the merge queue Feb 28, 2023
Merged via the queue into OWASP-BLT:main with commit e1e8d14 Feb 28, 2023
DonnieBLT pushed a commit that referenced this pull request Aug 12, 2023
* Add remaining dynamiv variables to templates

* Add dynamic variables

* Add BLOG_URL settings variable

* Add social media urls as variables

* Modify remaining dynamic variable in templates
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.

Make sure all templates are using the new dynamic variables
2 participants