Skip to content

Commit 162c227

Browse files
committed
fixing things, adding disqus
1 parent 53530b5 commit 162c227

File tree

2 files changed

+21
-101
lines changed

2 files changed

+21
-101
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<!-- All JavaScript at the bottom, except for Modernizr / Respond.
2929
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
3030
For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
31-
<script src="js/libs/modernizr.custom.47336.js"></script>
31+
<script src="/public/js/libs/modernizr.custom.47336.js"></script>
3232
</head>
3333

3434
<body>

_layouts/post.html

Lines changed: 20 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,23 @@
11
---
22
layout: default
33
---
4-
<div id="sticky-wrapper">
5-
<section id="main-content">
6-
<article>
7-
<header>
8-
<h1><a href="/article/${article.name}">{{ page.title }}</a></h1>
9-
<time class="publishing" data-timestamp="{{ page.date }}" datetime="${article.parsedDate}" pubdate="pubdate" title="{{ page.date }}">{{ page.date | date_to_string }}</time>
10-
<cite class="author"><a href="#">{{ page.author }}</a></cite>
11-
</header>
12-
{{ content }}
13-
<!--
14-
<a class="github-changeset" href="#">5500e5f3ea1f3485c496</a>
15-
-->
16-
</article>
17-
<div id="disqus_thread">
18-
<script>
19-
var disqus_shortname = 'pullrequest';
20-
var disqus_identifier = '${article.name}';
21-
$.getScript("http://pullrequest.disqus.com/embed.js");
22-
</script>
23-
</div>
24-
<!--
25-
<nav class="articles-nav">
26-
<a href="#" class="previous-posts">Anciens posts</a>
27-
<a href="#" class="next-posts">Posts r&eacute;cents</a>
28-
</nav>
29-
-->
30-
</section>
31-
<aside>
32-
<section class="about">
33-
<h1>Auteur</h1>
34-
<dl>
35-
<dt>Nom</dt>
36-
<dd>{{ page.author }}</dd>
37-
</dl>
38-
<section class="about">
39-
<h1>Billet</h1>
40-
{{if article.date}}
41-
<dl>
42-
<dt>Publi&eacute; </dt>
43-
<dd><time class="publishing" data-timestamp="${article.date}" datetime="${article.date}" pubdate="pubdate" title="${article.date}">${article.parsedDate}</time></dd>
44-
</dl>
45-
{{/if}}
46-
47-
{{if article.lastUpdated}}
48-
<dl>
49-
<dt>Derni&egrave;re mise &agrave; jour</dt>
50-
<dd><time data-timestamp="${article.lastUpdated}" datetime="${article.lastUpdated}" title="${article.lastUpdated}">${article.lastUpdated}</time></dd>
51-
</dl>
52-
{{/if}}
53-
<!--
54-
{{if article.categories}}
55-
<dl>
56-
<dt>Cat&eacute;gories</dt>
57-
<dd>
58-
{{each article.categories}}
59-
<a href="/category/${$value}">${$value}</a>
60-
{{/each}}
61-
</dd>
62-
</dl>
63-
{{/if}}
64-
-->
65-
{{if article.log}}
66-
<dl>
67-
<dt>Revisions</dt>
68-
<dd>
69-
<ul>
70-
{{each(version, stat) article.log}}
71-
<li title="${stat.message}"></li>
72-
<a href="/${version}/${article.name}">${stat.date}</a>
73-
{{/each}}
74-
</ul>
75-
</dd>
76-
</dl>
77-
{{/if}}
78-
</section>
79-
<section id="participate">
80-
<h1>Participer</h1>
81-
<p>Les articles sont écrits en <a href="http://daringfireball.net/projects/markdown/syntax">MarkDown</a> et stock&eacute;s dans un repository Git sur <a href="http://github.com/pullrequest/pullrequest.org">Github</a>.
82-
N'h&eacute;sitez pas &agrave; <strong>forker</strong> puis à faire une <strong><a href="https://github.com/pullrequest/pullrequest.org/pull/new/master">Pull Request</a></strong> ;)</p>
83-
</section>
84-
<section class="licensing">
85-
<h1>Licence</h1>
86-
<p>
87-
Les articles sont mis à disposition selon les termes de la <a rel="license" href="http://creativecommons.org/licenses/by/2.0/fr/">Licence Creative Commons Paternité 2.0 France</a>.
88-
<a rel="license" href="http://creativecommons.org/licenses/by/2.0/fr/">
89-
<br><img alt="Contrat Creative Commons" style="border-width:0" src="http://i.creativecommons.org/l/by/2.0/fr/88x31.png" />
90-
</a>
91-
</p>
92-
</section>
93-
<section id="opensource">
94-
<h1>OpenSource</h1>
95-
<p>Les auteurs de PullRequest sont à l'origine, ou contributeurs, entre autre de ces projets:</p>
96-
<a href="http://openscales.org">OpenScales</a>
97-
<a href="http://resthub.org">RestHub</a>
98-
<a href="https://github.com/loicfrering/losolib">LoSoLib</a>
99-
<a href="https://bitbucket.org/feugy/myth">Myth</a>
100-
<a href="https://github.com/mklabs/node-yabe">Node Yabe</a>
101-
</section>
102-
</aside>
103-
</div>
4+
<article>
5+
<header>
6+
<h1><a href="/article/${article.name}">{{ page.title }}</a></h1>
7+
<time class="publishing" data-timestamp="{{ page.date }}" datetime="${article.parsedDate}" pubdate="pubdate" title="{{ page.date }}">{{ page.date | date_to_string }}</time>
8+
<cite class="author"><a href="#">{{ page.author }}</a></cite>
9+
</header>
10+
{{ content }}
11+
</article>
12+
<div id="disqus_thread"></div>
13+
<script type="text/javascript">
14+
var disqus_shortname = 'pullrequest';
15+
var disqus_developer = 1;
16+
(function() {
17+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
18+
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
19+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
20+
})();
21+
</script>
22+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
23+
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>

0 commit comments

Comments
 (0)