Skip to content

Instantly share code, notes, and snippets.

@sebersole
Created August 20, 2015 13:54
Show Gist options
  • Save sebersole/fa9c0a224b7c3cc2ad28 to your computer and use it in GitHub Desktop.
Save sebersole/fa9c0a224b7c3cc2ad28 to your computer and use it in GitHub Desktop.

Hibernate ORM documentation

…​

---
layout: project-frame
---
-# ORM documentation page layout - version-centric
-# Metadata from site.yml for the project
- project_description = site.projects[page.project]
-# Version links
%ul
%li
%a{:href => "#{relative("orm/documentation/4.2)}"} 4.2
%span.label{:class => 'label-success'} stable
%li
%a{:href => "#{relative("orm/documentation/4.3)}"} 4.3
%span.label{:class => 'label-success'} stable
%li
%a{:href => "#{relative("orm/documentation/5.0)}"} 5.0
%span.label{:class => 'label-warning'} 'development'
:asciidoc
:ref_doc: #{project_description.reference_doc_prefix_url}
Documentation for older versions can be found {ref_doc}[on the reference documentation site].
.row-fluid
.span12
~ content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment