Giter Club home page Giter Club logo

ptudw.t09's People

Contributors

nchconghung avatar ngankhanh98 avatar nkhang avatar

Stargazers

 avatar

Watchers

 avatar

ptudw.t09's Issues

What is "new-post.hds"??

I see new-post.hbs seems like writer-new-post.hbs. Can I delete it? If cant, what do new-post.hbs for??

Can not pass specified data for modal

Context: navigate to /editor/draft > press ... > view
Issue: Modals will show up with same content despite effort of changing it in editor-draft/hbs

🤠Trang phóng viên

  • Đăng bài viết
  • Xem danh sách bài viết (phân loại theo tiến độ duyệt)

How to pass data for render file?

File: editor.js, editor-drafts.hbs
I try to pass value of draft, publish from here (editor.js)...

router.get("/drafts", function(req, res) {
  res.render("editor-drafts", {
    title: "Blog Posts",
    draft: 9,
    publish: 10,
  });
});

... to here (editor-drafts.hbs) but it doesn't work.

<li class="nav-item">
<a class="nav-link" href="#">Publish<span class="badge badge-light">{{publish}}</span></a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Dafts<span class="badge badge-light">{{draft}}</span></a>
</li>

Am i doing something wrong? Thank you for concerning my issue :D

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.