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

Complete Update/Overhaul of Hugo Backend #105

Merged
merged 19 commits into from
Mar 27, 2024

Conversation

kelseasouders
Copy link
Contributor

This is a test PR to ensure that the build-deploy process still behaves with the new hugo updates. The files appear to have changed, so I am unsure if it will be "plug and play".

This PR contains much-needed updates to the hugo backend that we use for the TESLa website. The previous version was extremely outdated and featured a convoluted file structure that made things more difficult than necessary. According to the hugo blox documentation, the best course of action when updating an "ancient" installation is to scrap everything and bring the content/ directory over, so I have done just that.

I have also cleaned up the file structure and pruned a significant amount of the extra "bloat" files that we were keeping, for some reason. In the event that we want to add extra blocks in the future, you can find the guide to do so here.

As it stands, the content of the site should be as close to a 1:1 remake of the original form, save for certain functional aspects that weren't kept in the new version of the theme-research-group repo (for instance, the tabs in the navigation bar no longer highlight).

I have made a few organizational changes that should make the site easier to maintain. The entire homepage is controlled by /content/_index.md, instead of dozens of separate files. Furthermore, I have organized the /content/authors/ directories so that a user's information is contained in a single directory, as described in the README.

This is an initial commit of sorts, so I will need to verify that the build process still works, but everything renders correctly on my laptop running hugo v0.124.1.

@kelseasouders kelseasouders marked this pull request as draft March 27, 2024 16:56
Add permissions to deploy token
Don't actually need this
Workflows are hard
Workflows are still hard
@kelseasouders
Copy link
Contributor Author

Apparently the GitHub checks might not allow deployment through PR's... might have to merge to see that it deploys. It builds fine, though.

@kelseasouders kelseasouders marked this pull request as ready for review March 27, 2024 17:38
@kelseasouders kelseasouders merged commit 5ca9708 into tesla-cu:master Mar 27, 2024
1 of 2 checks passed
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.

1 participant