ejs를 쓰는데 처음 쓰는거라 모르는게 많더라고

router.get('/writeboard/:id', function(req, res, next) {
res.render('writeboard', {
title : 'Board',
subject : req.params.id

로 라우팅하고 subject변수를 파라미터로 넘겨주고

ejs 파일에 이렇게 썼거든
<% if( subject != 'board') { %>
<div id="select_subject">
<label><input type="radio" value='java' name="boradType">java programming</label>
<label><input type="radio" value='3DG' name="boradType">3D Graphics</label>
<label><input type="radio" value='Database' name="boradType">Database</label>
<label><input type="radio" value='3D Animation' name="boradType">3D Animation</label>
<% { %>


Unexpected token catch in C:\Users\cga\Desktop\test\views\writeboard.ejs while compiling ejs If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJS-Lint
이거 뜨던데
ejs파일에서 if 문에 저 subject 변수를 어떻게 넣어야함?