|
1 |
| -<!-- v7 - 2012-06-21 - Allègement temporaire des blocs tweets et blogs en attendant de gérer mieux.--> |
2 |
| -<!-- JEKYLL v1 - 2012-06-21 - Copie de la v7 de structure-nouveau-site.html, avec adaptation des appels de jquery, et appel du css depuis files.petalslink.com --> |
3 |
| -<!-- JEKYLL v2 - 2012-06-21 - On sort les parties de la structure pour les mettre dans des includes : galaxy, menus, footer. --> |
4 |
| -<!-- JEKYLL v4 - 2012-06-22 - Intégration des modifs de Vincent pour régler le problème du JS. --> |
5 |
| -<!-- JEKYLL v5 - 2012-06-25 - Appel du js rssfeed depuis files.petalslink.com. Ajout de Google Analytics --> |
6 |
| -<!-- JEKYLL v6 - 2012-06-26 - Correction du double appel de fichier css --> |
7 |
| - |
8 |
| - |
9 | 1 | <!DOCTYPE html>
|
10 | 2 | <html lang="en">
|
11 | 3 | <head>
|
|
15 | 7 | <meta name="author" content=""><!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--><!--//-->
|
16 | 8 |
|
17 | 9 | <link type="text/css" rel="stylesheet" media="all" href="community-all.css" />
|
18 |
| - |
19 | 10 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js" type="text/javascript"></script>
|
20 | 11 | <script src="http://files.petalslink.com/js/rss/jquery.zrssfeed.min.js" type="text/javascript"></script>
|
21 |
| - |
22 | 12 | <script src="http://files.petalslink.com/js/analytics/ga-petalslink.js" type="text/javascript"></script>
|
23 |
| - |
24 |
| - |
25 | 13 | </head>
|
| 14 | + |
26 | 15 | <body>
|
27 | 16 | {% include galaxy.html %}
|
28 | 17 |
|
29 | 18 | {% include menus.html %}
|
30 | 19 |
|
31 | 20 | <div id="wrapper">
|
32 |
| - <div id="content"> |
33 |
| -<h1 class="title">{{page.title}}</h1> |
34 |
| -{{content}} |
35 |
| - </div> |
36 |
| - |
37 |
| - <div id="sidebar"> |
38 |
| - <div> |
39 |
| - <h2>Tweets</h2> |
40 |
| - <div id="tweets"></div> |
41 |
| - </div> |
42 |
| - <div class="block"> |
43 |
| - <h2>Articles</h2> |
44 |
| - <div id="blog"></div> |
45 |
| - </div> |
| 21 | + <div id="content"> |
| 22 | + <h1 class="title">{{page.title}}</h1> |
| 23 | + {{content}} |
| 24 | + </div> |
46 | 25 |
|
47 |
| - <div> |
48 |
| - {% include social-links.html %} |
49 |
| - </div> |
| 26 | + <div id="sidebar"> |
| 27 | + {% if page.show-dl-in-menu %} |
| 28 | + <div id="download-button"> |
| 29 | + <a xmlns="http://www.w3.org/1999/xhtml" onclick="javascript:urchinTracker('/downloads/petals-esb-distrib-4.0');" href="http://download.petalslink.com/petals-esb/petals-esb-distrib-4.0.zip"> |
| 30 | + <img title="Download Petals ESB" alt="Click to download Petals ESB" src="http://files.petalslink.com/img/site_download/download_petals-esb.png"/> |
| 31 | + </a> |
| 32 | + </div> |
| 33 | + {% endif %} |
| 34 | + <div> |
| 35 | + <h2>Tweets</h2> |
| 36 | + <div id="tweets"></div> |
| 37 | + </div> |
| 38 | + <div class="block"> |
| 39 | + <h2>Articles</h2> |
| 40 | + <div id="blog"></div> |
| 41 | + </div> |
50 | 42 |
|
51 |
| - </div> |
| 43 | + <div> |
| 44 | + {% include social-links.html %} |
| 45 | + </div> |
| 46 | + </div> |
52 | 47 | </div>
|
53 | 48 |
|
54 | 49 | {% include footer.html %}
|
55 | 50 |
|
56 |
| -<script language="javascript"> |
57 |
| -function setActive() { |
58 |
| -var fullHost = window.location.host.split('.') |
59 |
| -//window.location.host is subdomain.domain.com |
60 |
| -var sub = fullHost[0] |
61 |
| -var btn = document.getElementById(sub); |
62 |
| -btn.parentNode.className= "active"; |
63 |
| -} |
64 |
| -</script> |
65 |
| -<script>document.onload = setActive()</script> |
66 |
| -</body> |
67 |
| - |
68 |
| -<script type="text/javascript"> |
69 |
| -jQuery.noConflict(); |
70 |
| -jQuery(document).ready(function () { |
71 |
| - jQuery('#blog').rssfeed('http://feeds.feedburner.com/PetalsPlanet?format=xml', {limit: 3, header:false, date:false, snippet: false, content: false, media:false,}); |
72 |
| - jQuery('#tweets').rssfeed('http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=petalslink', {limit: 3, header:false, date:false, snippet: false, content: false, media:false,}); |
73 |
| -}); |
74 |
| -</script> |
| 51 | + <script language="javascript"> |
| 52 | + function setActive() { |
| 53 | + var fullHost = window.location.host.split('.') |
| 54 | + //window.location.host is subdomain.domain.com |
| 55 | + var sub = fullHost[0] |
| 56 | + var btn = document.getElementById(sub); |
| 57 | + btn.parentNode.className= "active"; |
| 58 | + } |
| 59 | + </script> |
| 60 | + <script>document.onload = setActive()</script> |
75 | 61 |
|
| 62 | + <script type="text/javascript"> |
| 63 | + jQuery.noConflict(); |
| 64 | + jQuery(document).ready(function () { |
| 65 | + jQuery('#blog').rssfeed('http://feeds.feedburner.com/PetalsPlanet?format=xml', {limit: 3, header:false, date:false, snippet: false, content: false, media:false,}); |
| 66 | + jQuery('#tweets').rssfeed('http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=petalslink', {limit: 3, header:false, date:false, snippet: false, content: false, media:false,}); |
| 67 | + }); |
| 68 | + </script> |
| 69 | +</body> |
76 | 70 | </html>
|
0 commit comments