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

Template Not Working #12

Open
bgschunck opened this issue Jul 13, 2023 · 3 comments
Open

Template Not Working #12

bgschunck opened this issue Jul 13, 2023 · 3 comments

Comments

@bgschunck
Copy link

I have encountered this problem several times. I clone html-pub-template and open doc/main.html in Visual Studio Code. Try to preview but do not get the full preview with boilerplate, etc. Create a workspace and add the html-pub-template folder to the workspace Sometimes I get a pop-up dialog about trusting the authors of the code. I agree. Sometimes this fixes the problem; other times, not. The error is repeatable, but not sure what I have done to fix the problem on the occasions when the problem was resolved and main.html is displayed with the boilerplate, numbered sections, numbered tables, etc. as expected.

@bgschunck
Copy link
Author

The problem seems to have been solved. Will re-open this issue if the problem occurs again. When the repository is cloned, it is quite easy to forget to include the submodules. The clone can be repaired with the following commands:

git submodule init
git submodule update

@bgschunck
Copy link
Author

I had cloned html-pub-template several times trying to debug the problem with the template not rendered correctly. I went back to each of these experiments and ran the git submodule init/update commands. In each case, this solved the problem.

@bgschunck
Copy link
Author

I had cloned html-pub-template several times trying to debug the problem with the template not rendered correctly. Went back to each of these experiments and ran the git submodule init/update commands. In each case, this solved the problem.

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

No branches or pull requests

1 participant