项目作者: Conaclos

项目描述 :
A starting base for your (X)HTML5 templates
高级语言: HTML
项目地址: git://github.com/Conaclos/origin.html.git
创建时间: 2015-06-06T10:02:20Z
项目社区:https://github.com/Conaclos/origin.html

开源协议:zlib License

下载


origin.html

origin.html is the starting base for your (X)HTML5 templates.

The template is conforming to the Polygot Markup specification, making it both parsable by a HTML5 and a XML processors.

origin.html is shipped with the support of the Open Graph protocol.

Template variables

Site variables

  • site.url preferred website’s domain name and protocol. e.g. http://example.org
  • site.baseurl The relative path of the website. e.g. /website
  • site.name Main name
  • site.alternate_name Alternative name

Page variables

  • page.date ISO 8601 date format
  • page.lang ISO 639-1 language and territory codes separated by a minus. e.g fr-FR
  • page.og_lang language and territory codes separated by an underscore. e.g fr_FR
  • page.permalink Desired URL to the resource (relative to site.baseurl). e.g; /page
  • page.type Type of the resource. See the types supported by the Open Graph protocol.
  • page.title Name of the resource
  • page.description Description of the resource
  • page.tags Keywords
  • page.author.display_name author’s common name
  • page.author.online_identity URI of the resource which represents the author on the web or url to a human.txt file

Libraries

origin.html loads normalize.css in order to improve the consistency between browsers.