Remove remarkbox comments section from landing page
This commit is contained in:
parent
716bfd4577
commit
c939abde8d
1 changed files with 0 additions and 52 deletions
52
index.html
52
index.html
|
|
@ -389,58 +389,6 @@ Open source & public domain — no moat, no castle, just infrastructure
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ======== QUESTIONS ======== -->
|
||||
<section class="landing-section landing-section-alt">
|
||||
<div class="one-column">
|
||||
<h2 class="landing-section-title">Questions?</h2>
|
||||
|
||||
<p class="landing-body">
|
||||
Drop a message below. Verify your email to get notified when we reply.
|
||||
</p>
|
||||
|
||||
<div id="remarkbox-div">
|
||||
<noscript>
|
||||
<iframe id=remarkbox-iframe src="https://my.remarkbox.com/embed?nojs=true" style="height:600px;width:100%;border:none!important" tabindex=0></iframe>
|
||||
</noscript>
|
||||
</div>
|
||||
<script src="https://my.remarkbox.com/static/js/iframe-resizer/iframeResizer.min.js"></script>
|
||||
<script>
|
||||
var rb_owner_key = "674b0fb7-be19-11ea-94d5-040140774501";
|
||||
var thread_uri = window.location.href;
|
||||
var thread_title = window.document.title;
|
||||
var thread_fragment = window.location.hash;
|
||||
|
||||
// rb owner was here.
|
||||
var rb_src = "https://my.remarkbox.com/embed" +
|
||||
"?rb_owner_key=" + rb_owner_key +
|
||||
"&thread_title=" + encodeURI(thread_title) +
|
||||
"&thread_uri=" + encodeURIComponent(thread_uri) +
|
||||
thread_fragment;
|
||||
|
||||
function create_remarkbox_iframe() {
|
||||
var ifrm = document.createElement("iframe");
|
||||
ifrm.setAttribute("id", "remarkbox-iframe");
|
||||
ifrm.setAttribute("scrolling", "no");
|
||||
ifrm.setAttribute("src", rb_src);
|
||||
ifrm.setAttribute("frameborder", "0");
|
||||
ifrm.setAttribute("tabindex", "0");
|
||||
ifrm.setAttribute("title", "Remarkbox");
|
||||
ifrm.style.width = "100%";
|
||||
document.getElementById("remarkbox-div").appendChild(ifrm);
|
||||
}
|
||||
create_remarkbox_iframe();
|
||||
iFrameResize(
|
||||
{
|
||||
checkOrigin: ["https://my.remarkbox.com"],
|
||||
inPageLinks: true,
|
||||
initCallback: function(e) {e.iFrameResizer.moveToAnchor(thread_fragment)}
|
||||
},
|
||||
document.getElementById("remarkbox-iframe")
|
||||
);
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- content -->
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue