Skip to content

Commit d60e3c4

Browse files
committed
Set to only display disqus on pending/draft SIPs.
1 parent 45ba8d7 commit d60e3c4

File tree

6 files changed

+9
-2
lines changed

6 files changed

+9
-2
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1>{{ site.title }}</h1>
5454
{% if page.title %}<h1>{{ page.title }}</h1>{% endif %}
5555
<div class="span12">
5656
{{ content }}
57-
{% if page.type == 'sip' %}{% include disqus.txt %}{% endif %}
57+
{% if page.disqus == true %}#DISQUS!!#{% include disqus.txt %}{% endif %}
5858
</div>
5959
{% if page.type == 'sip' %}
6060
<div class="span4">

sips/completed/_posts/2009-05-28-scala-compiler-phase-plugin-in.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ type: sip
44
title: SID-2 Scala Compiler Phase and Plug-In Initialization for Scala 2.8
55
---
66

7-
This was an older SID that can be found [here](http://www.scala-lang.org/sid/2)
7+
This was an older SID that can be found [here](http://www.scala-lang.org/sid/2)
8+
9+
10+

sips/draft/_posts/2011-10-12-implicit-classes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
type: sip
4+
disqus: true
45
title: Implicit classes
56
---
67

sips/draft/_posts/2011-10-12-inline-classes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
type: sip
4+
disqus: true
45
title: Inline classes
56
---
67

sips/pending/_posts/2011-10-13-string-interpolation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
type: sip
4+
disqus: true
45
title: SIP-11 String Interpolation
56
---
67
### Martin Odersky ###

sips/pending/_posts/2011-10-13-uncluttering-control.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
type: sip
4+
disqus: true
45
title: SIP-12 Uncluttering Scala’s syntax for control structures.
56
---
67

0 commit comments

Comments
 (0)