mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
Initial commit
This commit is contained in:
commit
5ffef61fe7
613 changed files with 91659 additions and 0 deletions
39
server/config/views.js
Normal file
39
server/config/views.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
/**
|
||||
* View Engine Configuration
|
||||
* (sails.config.views)
|
||||
*
|
||||
* Server-sent views are a secure and effective way to get your app up
|
||||
* and running. Views are normally served from actions. Below, you can
|
||||
* configure your templating language/framework of choice and configure
|
||||
* Sails' layout support.
|
||||
*
|
||||
* For details on available options for configuring server-side views, check out:
|
||||
* https://sailsjs.com/config/views
|
||||
*
|
||||
* For more background information on views and partials in Sails, check out:
|
||||
* https://sailsjs.com/docs/concepts/views
|
||||
*/
|
||||
|
||||
module.exports.views = {
|
||||
/***************************************************************************
|
||||
* *
|
||||
* Extension to use for your views. When calling `res.view()` in an action, *
|
||||
* you can leave this extension off. For example, calling *
|
||||
* `res.view('homepage')` will (using default settings) look for a *
|
||||
* `views/homepage.ejs` file. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// extension: 'ejs',
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* The path (relative to the views directory, and without extension) to *
|
||||
* the default layout file to use, or `false` to disable layouts entirely. *
|
||||
* *
|
||||
* Note that layouts only work with the built-in EJS view engine! *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
layout: 'layouts/layout',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue