clean up typed pages

This commit is contained in:
Torsten Ruger 2018-04-11 19:43:29 +03:00
parent 365d07e606
commit 3ac0745c8e
7 changed files with 26 additions and 61 deletions

View File

@ -1,18 +0,0 @@
%head
%meta{:charset => "utf-8"}/
%meta{:content => "IE=edge", "http-equiv" => "X-UA-Compatible"}/
%meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/
%title {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}
%meta{:content => "{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}", :name => "description"}/
%body
%p
{% assign user_url = site.url | append: site.baseurl %}
{% assign full_base_url = user_url | default: site.github.url %}
%link{:full_base_url => "", :href => "{{ ", "prepend:" => "", :rel => "stylesheet"}/
%link{:href => "/assets/css/site.css", :rel => "stylesheet"}/
%link{:href => "{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}", :rel => "canonical"}/
%link{:href => "{{ ", "prepend:" => "", :rel => "alternate", "site.baseurl" => "", "site.url" => "", :title => "{{ site.title }}", :type => "application/rss+xml"}/
%script{:async => "", :defer => "defer", :src => "https://buttons.github.io/buttons.js"}
/ Font Include
%link{:href => "http://fonts.googleapis.com/css?family=Roboto:400,300,100,100italic,300italic,500,700", :rel => "stylesheet", :type => "text/css"}/
{% seo %}

View File

@ -1,22 +0,0 @@
\---
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}}

View File

@ -0,0 +1,10 @@
.row
%ul.nav
%li
%a{:href => "/typed/typed.html"} Typed
%li
%a{:href => "/typed/benchmarks.html"} Performance
%li
%a{:href => "/typed/debugger.html"} Debugger
%li
%a{:href => "/typed/syntax.html"} Syntax (obsolete)

View File

@ -1,8 +1,7 @@
%hr/ = render "pages/typed/menu"
%p
layout: typed %h1= title "Simple soml performance numbers"
title: Simple soml performance numbers
%p %p
These benchmarks were made to establish places for optimizations. This early on it is clear that These benchmarks were made to establish places for optimizations. This early on it is clear that
performance is not outstanding, but still there were some surprises. performance is not outstanding, but still there were some surprises.

View File

@ -1,8 +1,7 @@
%hr/ = render "pages/typed/menu"
%p
layout: typed %h1= title "Register Level Debugger / simulator"
title: Register Level Debugger / simulator
%h2#views Views %h2#views Views
%p %p
From left to right there are several views showing different data and controls. From left to right there are several views showing different data and controls.

View File

@ -1,8 +1,7 @@
%hr/ = render "pages/typed/menu"
%p
layout: typed %h1= title "Soml Syntax"
title: Soml Syntax
%h4#top-level-class-and-methods Top level Class and methods %h4#top-level-class-and-methods Top level Class and methods
%p The top level declarations in a file may only be class definitions %p The top level declarations in a file may only be class definitions
%pre %pre

View File

@ -1,9 +1,7 @@
%hr/ = render "pages/typed/menu"
%p
layout: typed %h1= title "Typed intermediate representation"
title: Typed intermediate representation
%h3#intermediate-representation Intermediate representation
%p %p
Compilers use different intermediate representations to go from the source code to a binary, Compilers use different intermediate representations to go from the source code to a binary,
which would otherwise be too big a step. which would otherwise be too big a step.