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

Move template into file tree to allow templating #45

Merged
merged 2 commits into from
Nov 11, 2023
Merged

Conversation

riotbib
Copy link
Contributor

@riotbib riotbib commented Nov 11, 2023

This commit changes how the indexTpl variable is handled. Now an index.html sourced from the file tree is embedded into the binary.

This allows changing the HTML for the index page more easily.

Closes #31.

This commit changes how the indexTpl variable is handeled. Now an
index.html sourced from the file tree is embeded into the binary.

This allows changing the HTML for the index page more easily.

Closes oxzi#31.
- Write CHANGELOG and fix riotbib's username
- Sort imports in webserver.go
@oxzi oxzi merged commit 8f38c68 into oxzi:main Nov 11, 2023
12 checks passed
@riotbib riotbib deleted the templating branch November 11, 2023 08:47
oxzi added a commit that referenced this pull request Nov 13, 2023
Iterating on riotbib's Pull Request #45, it is now possible to overwrite
the index.html template file during startup. Furthermore, static files
are now also supported, e.g., for stylesheets.
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.

Allow templating of the web frontend
2 participants