Skip to content

Commit

Permalink
Add exception template, add none placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavis committed May 27, 2014
1 parent fc54f29 commit 732a488
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
4 changes: 2 additions & 2 deletions _includes/exception.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% capture html %}
<div class='header'>
Exceptions
Exceptions &amp; Restrictions
</div>
<div class='content'>
{% if include.website.exceptions.text %}
Expand All @@ -19,7 +19,7 @@

{% if include.website.exceptions.link %}
<a class="popup exception"
href="/exceptions#{{ include.website.name | downcase | handle }}"
href="/restrictions#{{ include.website.name | downcase | handle }}"
data-position="bottom center"
data-html="{{ html | strip_newlines }}">
<i class="warning red link icon"></i>
Expand Down
9 changes: 9 additions & 0 deletions _includes/exceptions/_template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="ui segment attached {{ include.class }}">
<h3 id="{{ same-value-as-yml-name }}" class="ui header">
{{ site.name }}
</h3>

<p>
Description of restriction more in depth here.
</p>
</div><!-- Section -->
5 changes: 5 additions & 0 deletions _includes/exceptions/none.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="ui segment">
<h3 class="ui header">
No Site Restrictions Listed
</h3>
</div><!-- Section -->
17 changes: 0 additions & 17 deletions _includes/exceptions/twitter.html

This file was deleted.

0 comments on commit 732a488

Please sign in to comment.