Olivier Lacan e8602923dd Start versioning from 0.3.0
This requires moving every current translation into a 0.3.0/ directory and doing
some default redirection when people hit keepachangelog.com they should
always be redirected to the latest version.

Currently that's hardcoded to 0.3.0 but we're going to surely use something akin
to a version.rb to define that and use it across the codebase.
2016-05-16 15:20:26 +02:00

63 lines
2.2 KiB
Plaintext

!!! 5
%html
%head{lang: current_page.data.language}
%meta{charset: 'utf-8'}
%meta{content: 'IE=edge', 'http-equiv' => 'X-UA-Compatible'}
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'}
%meta{name: 'description', content: current_page.data.description}
-# Open Graph
%meta{property: 'og:article:publisher', content: publisher_url}
%meta{property: 'og:title', content: current_page.data.title}
%meta{property: 'og:type', content: 'article'}
%meta{property: 'og:url', content: path_to_url(current_page.url)}
%meta{property: 'og:description', content: current_page.data.description}
= yield_content :og
-# Icons
%link{rel: 'canonical', href: path_to_url(current_page.url)}
%title= current_page.data.title
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Carrois+Gothic|Source+Code+Pro:400,700'
= stylesheet_link_tag 'application'
:javascript
try{Typekit.load();}catch(e){}
%body
%article
%header{role: "banner"}
%nav.locales{role: "navigation"}
%ul
- $languages.each do |language|
%li= link_to "#{language.last} [#{language.first}]", "/#{language.first}/",
{ rel: "alternate", lang: "#{language}", hreflang: "#{language}" }
.main{role: "main"}= yield
%footer.clearfix{role: "banner"}
%p.license
This project is
#{link_to "MIT Licensed", "http://choosealicense.com/licenses/mit/"}.
%p.about
#{link_to "Typed", "https://github.com/olivierlacan/keep-a-changelog/"}
with trepidation by
#{link_to "Olivier Lacan", "http://olivierlacan.com/"} from
#{link_to "Code School", "https://www.codeschool.com/"}.
- unless gauges_id.blank?
:javascript
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '#{gauges_id}');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();