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 #7

Open
1 of 5 tasks
at15 opened this issue Sep 12, 2016 · 10 comments
Open
1 of 5 tasks

Template #7

at15 opened this issue Sep 12, 2016 · 10 comments
Milestone

Comments

@at15
Copy link
Member

at15 commented Sep 12, 2016

Though the major part of about is text transformed from markdown doc, a template engine is still needed.

  • render single template file
  • render template file in folder with certain pattern (ie: ignore all *-partial.html)
  • render based on config file
  • custom filter/tag for markdown
  • custom filter/tag for person

Minimal requirements

  • server side render
  • include other template file / custom tag

Enhancements

  • server & client side render
  • allow logic in the template (this is ugly, but might be useful for some dirty tricks)

Ref

@at15 at15 added this to the 0.0.2 milestone Sep 12, 2016
@at15
Copy link
Member Author

at15 commented Sep 12, 2016

  • pug known as jade is dropped because I don't like its clean syntax, guess I just don't like ruby and related libraries (haml)

@at15
Copy link
Member Author

at15 commented Sep 12, 2016

  • ejs has simple syntax, v1 was by tj

@at15
Copy link
Member Author

at15 commented Sep 12, 2016

  • doT documentation is in poor format .... though it is not logic less

@at15
Copy link
Member Author

at15 commented Sep 12, 2016

at15 added a commit that referenced this issue Sep 12, 2016
- use dustjs as template engine
- wrap its callback based API using node native promise
@ComMouse
Copy link
Member

ComMouse commented Nov 2, 2017

What about the progress =w= Since we want to display it in recruitment...

@at15
Copy link
Member Author

at15 commented Nov 2, 2017

what's the estimated time? I don't have much time recently, but could spare some to craft out a ugly working version during the weekend

@ComMouse
Copy link
Member

ComMouse commented Nov 2, 2017

Is there any present material of this website? The static generator is relativelty not important now

@at15
Copy link
Member Author

at15 commented Nov 2, 2017

there is some from the real founder of tongqu, I have it in my sjtu's inbox (I think I should still be able to use it) what content do you need?

@ComMouse
Copy link
Member

ComMouse commented Nov 2, 2017

We need a brief introduction of the Tongqu website, and the origin of the current Tongqu logo for an article.

@at15
Copy link
Member Author

at15 commented Nov 2, 2017

I guess you don't need me then, you can ask folks that designed current logo directly

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

2 participants