Skip to content
#

ejs

Here are 1,606 public repositories matching this topic...

gtsiam
gtsiam commented Jan 2, 2018

Setting up a simple example project:

//...

app.set('view engine', 'ejs');
app.set('views', __dirname + '/views');
app.set('layout', __dirname + '/views/layouts/default.ejs');
app.set('layout extractScript', true);
app.set('layout extractStyles', true);

//...

When rendering a simple page, I was getting 'script' is not defined (Referring to <%- script %> in the layout fil

AKA ShareS - Feature full & Stable ShareX and file server in node. Includes images, videos, code, text, markdown rendering, password protected uploads, logging via discord, administration through Discord, url shortening, and a full front end. Use standalone or via reverse proxy

  • Updated May 20, 2020
  • JavaScript

Improve this page

Add a description, image, and links to the ejs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ejs topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.