convert to haml

This commit is contained in:
Torsten Ruger
2018-04-10 18:39:03 +03:00
parent 53c7ab4f40
commit 2b00be8443
36 changed files with 15778 additions and 191 deletions

24
_layouts/arm.html.haml Normal file
View File

@@ -0,0 +1,24 @@
\---
layout: site
\---
.row
%div
%h1.center
{{page.title}}
%p.center
%span {{page.sub-title}}
%ul.nav
%li
%a{:href => "/arm/overview.html"} Overview
%li
%a{:href => "/arm/qemu.html"} Virtual Pi
%li
%a{:href => "/arm/remote_pi.html"} Remote pi
%li
%a{:href => "/arm/target.html", :target => "sspec"} Small Spec(html)
%li
%a{:href => "/arm/arm_inst.pdf", :target => "pspec"} Small Spec(pdf)
%li
%a{:href => "/arm/big_spec.pdf", :target => "bspec"} Huge spec
%div
{{content}}

21
_layouts/news.html.haml Normal file
View File

@@ -0,0 +1,21 @@
\---
layout: site
\---
.row
%div
%h1.center
{{page.title}}
%p.center
%span Written by {{page.author}} on {{page.date | date_to_string}}.
%div
{{content}}
.row
%h2.center Older
%div
%ul.nav
{% for post in site.posts %}
%li
%a{:href => "{{ post.url }}"}
{{ post.title }}
%small {{ post.date | date: "%d.%m.%y" }}
{% endfor %}

View File

@@ -0,0 +1,20 @@
\---
layout: site
\---
.row
%div
%h1.center
{{page.title}}
%p.center
%span {{page.sub-title}}
%ul.nav
%li
%a{:href => "/project/motivation.html"} Motivation
%li
%a{:href => "/project/ideas.html"} Ideas
%li
%a{:href => "/project/history.html"} History
%li
%a{:href => "/project/contribute.html"} Contribute
%div
{{content}}

20
_layouts/rubyx.html.haml Normal file
View File

@@ -0,0 +1,20 @@
\---
layout: site
\---
.row
%div
%h1.center
{{page.title}}
%p.center
%span {{page.sub-title}}
%ul.nav
%li
%a{:href => "/rubyx/layers.html"} Layers of RubyX
%li
%a{:href => "/rubyx/memory.html"} Memory
%li
%a{:href => "/rubyx/threads.html"} Threads
%li
%a{:href => "/rubyx/optimisations.html"} Optimisation ideas
%div
{{content}}

41
_layouts/site.html.haml Normal file
View File

@@ -0,0 +1,41 @@
!!!
/[if IE 8] <html class="no-js lt-ie9" lang="en">
/ [if gt IE 8]><!
%html.no-js{:lang => "en"}
/ <![endif]
%body
%p
{% include head.html %}
%header
.container
%a{:href => "https://github.com/ruby-x"}
%img{:alt => "Fork me on GitHub", "data-canonical-src" => "https://s3.amazonaws.com/github/ribbons/forkme_left_orange_ff7600.png", :src => "https://camo.githubusercontent.com/8b6b8ccc6da3aa5722903da7b58eb5ab1081adee/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6f72616e67655f6666373630302e706e67", :style => "position: absolute; top: 0; left: 0; border: 0;"}/
%ul.nav
%li
%a{:href => "/"} Home
%li
%a{:href => "/rubyx/layers.html"} Architecture
%li
%a{:href => "/typed/typed.html"} Typed layer
%li
%a{:href => "/arm/overview.html"} Arm Resources
%li
%a{:href => "/project/motivation.html"} About
%li
%a{:href => "{{site.posts.first.url}}"} News
%a{:href => "https://github.com/ruby-x"}
%img{:alt => "Logo", :src => "/assets/images/x-small.png", :style => "position: absolute; top: 15px; right: 15px; border: 0; width: 70px"}/
.container
{{ content }}
%footer
.container
.row.center
%p © Copyright Torsten Ruger 2013-7
:javascript
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
var the_id = 'UA-61481839-1';
ga('create', the_id.replace("-1" , "-2") , 'auto');
ga('send', 'pageview');

22
_layouts/typed.html.haml Normal file
View File

@@ -0,0 +1,22 @@
\---
layout: site
\---
.row
%div
%h1.center
{{page.title}}
%p.center
%span {{page.sub-title}}
%ul.nav
%li
%a{:href => "/typed/typed.html"} Typed
%li
%a{:href => "/typed/parfait.html"} Parfait
%li
%a{:href => "/typed/benchmarks.html"} Performance
%li
%a{:href => "/typed/debugger.html"} Debugger
%li
%a{:href => "/typed/syntax.html"} Syntax (obsolete)
%div
{{content}}