Skip to content

Instantly share code, notes, and snippets.

Created May 24, 2017
What would you like to do?
var Render = require('../render'),
render = Render.render;
function getContent(req, res) {
var hello = 'Hello';
var world = 'World';
render(req, res, {
view: 'page-index',
title: 'Main page',
meta: {
description: 'Page description',
og: {
url: '',
siteName: 'Site name'
hello: hello,
world: world
module.exports = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment