Closed euank closed 6 years ago
Looking good! I didn’t think of this option. It’s by far superior in this case.
On 1 Sep 2018, at 00:11, Euan Kemp notifications@github.com wrote:
This moves it from being inline in the rust code to being a templated file.
Minimal templating is done by search/replace of values in rust.
This is to make it easier for someone else to read or edit the html.
cc @Mechazawa since this is per your suggestion.
You can view, comment on, or merge this pull request online at:
https://github.com/euank/rms.sexy/pull/12
Commit Summary
Store index.html as a file File Changes
A src/index.html.tmpl (25) M src/main.rs (40) Patch Links:
https://github.com/euank/rms.sexy/pull/12.patch https://github.com/euank/rms.sexy/pull/12.diff — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
This moves it from being inline in the rust code to being a templated file.
Minimal templating is done by search/replace of values in rust.
This is to make it easier for someone else to read or edit the html.
cc @Mechazawa since this is per your suggestion.