This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% if paginator.next_page %} | |
| <a href="{{paginator.next_page}}" class="prev">Plus vieux</a> | |
| {% endif %} | |
| {% if paginator.previous_page %} | |
| <a href="{{paginator.previous_page}}" class="next">Plus récent</a> | |
| {% endif %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| script | |
| var _gaq=[['_setAccount','UA-XXXXXXXX-X'],['_trackPageview']]; | |
| (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; | |
| g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; | |
| s.parentNode.insertBefore(g,s)}(document,'script')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| script | |
| var url = window.location;$('ul.right a').filter(function() {return this.href == url;}).addClass('active'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| link(rel="shortcut icon", type="image/x-icon", href="img/favicon.ico") | |
| link(rel="apple-touch-icon", sizes="114x114", href="img/touch-icon-114x114.png") | |
| link(rel="apple-touch-icon", sizes="72x72", href="img/touch-icon-72x72.png") | |
| link(rel="apple-touch-icon", href="img/touch-icon-iphone.png") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"> | |
| <link rel="apple-touch-icon" sizes="114x114" href="img/touch-icon-114x114.png" /> | |
| <link rel="apple-touch-icon" sizes="72x72" href="img/touch-icon-72x72.png" /> | |
| <link rel="apple-touch-icon" href="/touch-icon-iphone.png" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var url = window.location; | |
| $('nav a').filter(function() { | |
| return this.href == url; | |
| }).addClass('active'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function() { | |
| $('nav li a').on('click',function(e) { | |
| $('nav li a').removeClass('active'); | |
| var that = $(this); | |
| var content = $('#content'); | |
| var toLoad = that.attr('href')+' #content'; | |
| that.toggleClass('active'); | |
| content.fadeOut('fast',loadContent); | |
| function loadContent(){ | |
| content.load(toLoad,'',showNew()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*Thanks to Chris Coyier*/ | |
| @mixin box-emboss($outerOpacity, $innerOpacity) { | |
| box-shadow: | |
| rgba(white, $outerOpacity) 0 1px 0, | |
| rgba(black, $innerOpacity) 0 1px 0 inset; | |
| } | |
| .class{ | |
| @include box-emboss(0.3, 0.6); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| var thing = document.method(parameter); | |
| ... | |
| }()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Media Queries in Sass 3.2 | |
| // | |
| // These mixins make media queries a breeze with Sass. | |
| // The media queries from mobile up until desktop all | |
| // trigger at different points along the way | |
| // | |
| // And important point to remember is that and width | |
| // over the portrait width is considered to be part of the | |
| // landscape width. This allows us to capture widths of devices | |
| // that might not fit the dimensions exactly. This means the break |