mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
ENHANCEMENT Added disqus comments
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@115396 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f6cac83b6a
commit
2440202e4c
@ -22,6 +22,11 @@ pre {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.notice {
|
||||
background-color: #FFFBCF;
|
||||
padding: 0 .5em;
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1 .heading-anchor-link,
|
||||
h2 .heading-anchor-link,
|
||||
@ -118,6 +123,15 @@ fieldset { border: none; }
|
||||
|
||||
.module { margin: 10px -; }
|
||||
|
||||
/* Comments */
|
||||
#comments {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#comments .notice {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/**
|
||||
* TOC
|
||||
*/
|
||||
|
10
themes/docs/templates/DocumentationViewer.ss
vendored
10
themes/docs/templates/DocumentationViewer.ss
vendored
@ -52,6 +52,16 @@
|
||||
<div id="content" class="typography">
|
||||
$Layout
|
||||
</div>
|
||||
|
||||
<div id="comments">
|
||||
<p class="notice">
|
||||
<strong>Comment policy:</strong> Please use comments for <strong>tips and corrections</strong> about the described
|
||||
functionality. <br />
|
||||
Comments are moderated, we reserve the right to remove comments that are inappropriate or are no longer relevant. Use the <strong><a href="http://silverstripe.com/silverstripe-forum">Silverstripe Forum</a></strong> to ask questions.
|
||||
</p>
|
||||
|
||||
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/silverstripe-doc/embed.js"></script><noscript><a href="http://silverstripe-doc.disqus.com/?url=ref">View the forum thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user