Skip to content

Instantly share code, notes, and snippets.

@olih
Created May 2, 2013 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olih/5503012 to your computer and use it in GitHub Desktop.
Save olih/5503012 to your computer and use it in GitHub Desktop.
Useful user data for a web page
renderer:
template: "the template to use"
template_type: "the template engine"
url: "the address of the page"
headers:
content_language: "The language the content is in (en,fr)"
last_modified: "The last modified date for the requested object, in RFC 2822 format"
expires: "Gives the date/time after which the response is considered stale"
etag: "An identifier for a specific version of a resource, often a message digest"
head:
title: "the title of the page"
meta:
author: "Defines the author of the page"
description: "Specifies what the page is about"
keywords: "Define keywords for search engines"
robots: "The robots attribute, supported by several major search engines"
link:
css: "Defines a custom css"
js: "Defines a custom javascript"
icon: "Defines custom icons"
body:
navigations:
a1: []
a2: []
sections: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment