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

Implement hub for adding new templates #5

Open
4 of 5 tasks
TRMSC opened this issue Nov 3, 2023 · 6 comments
Open
4 of 5 tasks

Implement hub for adding new templates #5

TRMSC opened this issue Nov 3, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@TRMSC
Copy link
Owner

TRMSC commented Nov 3, 2023

Actually the code of index.html has to be changed when a new template was added in the template directory.

  • Add a json file in the template directory with a structure for enrolling a new template (name, description, author)
  • Implement areas in the index.html for showing the content of the json file
  • Add a function in the script.js for integrating the templates with names, descriptions and authors
  • Get template contents by using an universal and relative link Revise reference to templates #9
  • Create a documentation for adding templates
@TRMSC TRMSC added the enhancement New feature or request label Nov 3, 2023
@TRMSC
Copy link
Owner Author

TRMSC commented Nov 5, 2023

Thank you @fdagner for mentioning that point in #9! It is included in the roadmap now! 😊👍

@TRMSC
Copy link
Owner Author

TRMSC commented Nov 5, 2023

Implement a two way solution for getting the template path correctly when using github pages or a server e.g. for forking with 44f0a41 and bc03b93.

@fdagner
Copy link
Contributor

fdagner commented Nov 7, 2023

Implement a two way solution for getting the template path correctly when using github pages or a server e.g. for forking with 44f0a41 and bc03b93.

Good work. It works on a server in VSCode.

@TRMSC
Copy link
Owner Author

TRMSC commented Nov 7, 2023

Can we add your authorname in the templates.json e.g. in form of your github handle or full name @fdagner? 😊

(We can create the descriptions later because I think it is better to try different forms for that when the functions are implemented - maybe keywords, a short sentence or something else...)

@fdagner
Copy link
Contributor

fdagner commented Nov 8, 2023

You can add Florian Dagner

@TRMSC
Copy link
Owner Author

TRMSC commented Nov 8, 2023

Perfect, thank you! 🥳 I also wrote a description for the Bubbles Template to complete the content but you can make revisions of course! 👌

TRMSC added a commit that referenced this issue Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants