-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
executable file
·31 lines (30 loc) · 1.29 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<footer>
<ul class="social-media list__horizontal__center">
<li><a href="https://github.com/<?php echo site_meta('github', 'publicscience'); ?>"><span class="icon-github"></span></a></li>
<li><a href="https://twitter.com/<?php echo site_meta('twitter', 'pub_sci'); ?>"><span class="icon-twitter"></span></a></li>
<?php
$links = explode('\n', site_meta('links', ''));
foreach ($links as $link) {
echo '<li>'.$link.'</li>';
}
?>
</ul>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="<?php echo theme_url('js/highlight.pack.js'); ?>"></script>
<script>
$(document).ready(function() {
$('pre').each(function(i, e) {hljs.highlightBlock(e)});
MathJax.Hub.Config({
tex2jax: {
inlineMath: [["$","$"]],
displayMath: [['$$','$$']],
processEscapes: true
}
});
MathJax.Hub.Startup.onload();
});
</script>
</body>
</html>