$pld = $ctl->getPayload();
$pld->baseUrl = $this->baseUrl;
$url = $this->baseUrl->mod($ctl->getRequest()->getRequestUrl());
+ $pld->permUrl = implode("/", $this->baseUrl->params($url));
if ($this->serveReference($url, $pld) || $this->serveInternal($url, $pld)) {
return;
font-size: 1.5em;
margin: 0;
padding: 0;
+ padding-bottom: 5em;
color: #3f3f3f;
}
line-height: 1.33;
}
-footer, h1, li h3 {
+footer, h1, li h3, th {
background: #708090;
color: #f5f5dc;
}
font-size: smaller;
text-align: center;
clear: both;
- margin-top: 8em;
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ padding: 0;
}
footer ul {
margin: 0;
- padding: 0;
+ padding: 1em 0;
}
footer li {
footer a:hover {
text-decoration: underline;
}
+
+table {
+ border-collapse: collapse;
+}
+th, td {
+ padding: .4em;
+}
+
+h1, footer, table, .sidebar, pre>code, li h3 {
+ box-shadow: 0 0 4px #708090;
+}
<?php if (!empty($title)) : ?>
<?= $title ?> -
<?php endif; ?>
- mdref
+ mdref
</title>
<base href="<?= $baseUrl ?>">
<link rel="stylesheet" href="index.css">
<?php include __DIR__."/index.phtml" ?>
<?php endif; ?>
+ <?php if ($_SERVER["SERVER_NAME"] != "localhost2") : ?>
<div id="disqus_thread"></div>
+ <script>
+ var disqus_shortname = 'mdref';
+ var disqus_identifier = '<?=$permUrl?>';
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+ </script>
+ <?php endif; ?>
<footer>
<?php include __DIR__."/footer.phtml" ?>