view/two-column/layout.html.haml in inqlude-0.11.0 vs view/two-column/layout.html.haml in inqlude-0.12.0

- old
+ new

@@ -1,40 +1,44 @@ !!! %head %meta{ :charset => 'utf-8' } - <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> - <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" /> - <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> - = style_sheet + + %title Inqlude - The Qt library archive + + %link{ :rel => "stylesheet", :href => "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" } + %link{ :rel => "stylesheet", :href => "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" } + = style_sheet - if enable_search - <link href='https://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> - <link rel="stylesheet" href="https://www.google.com/cse/style/look/default.css" type="text/css" /> - + %link{ :rel => "stylesheet", :href => "https://fonts.googleapis.com/css?family=Droid+Sans" } + %link{ :rel => "stylesheet", :href => "https://www.google.com/cse/style/look/default.css" } + + %link{ :rel => "icon", :type => "image/x-icon", :href => "favicon.ico" } + %body .container-fluid.header .col-sm-8.left .ribbon - = link_to "Alpha", "about" + = link_to "Alpha", "about" %h1 %span.logo>< = link_to "#in", "index" %span.logo.green>< = link_to "q", "index" %span.logo>< = link_to "lude", "index" %h2 %span.subtitle>< = link_to "The Qt library archive", "index" - .col-sm-4.right + .col-sm-4.right - if enable_search %gcse:searchbox-only{ resultsUrl: "https://inqlude.org/search.html" } Loading... %br{ :clear => "all" } .col-sm-3.side-bar %p{:class => "description"} - Inqlude provides a comprehensive listing of all existing libraries for developers of applications using the #{link_to "Qt toolkit", "http://qt-project.org"}. Inqlude is run by the community and open for contributions. + Inqlude provides a comprehensive listing of all existing libraries for developers of applications using the #{link_to "Qt toolkit", "http://qt-project.org"}. Inqlude is run by the community and open for contributions. %ul.titles-list %li = link_to "About", "about" %li = link_to "How to get libraries", "get" @@ -75,11 +79,11 @@ = yank %br{ :clear => "all" } %hr - + .col-sm-12.footer = add_footer - if enable_search :javascript @@ -91,5 +95,22 @@ gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); + + %script{ :src => "https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" } + + <!-- Piwik --> + :javascript + var _paq = _paq || []; + // tracker methods like "setCustomDimension" should be called before "trackPageView" + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="//stats.kde.org/"; + _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setSiteId', '4']); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); + })(); + <!-- End Piwik Code -->