-
Notifications
You must be signed in to change notification settings - Fork 2
/
page.php
98 lines (86 loc) · 3.69 KB
/
page.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!doctype html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en">
<![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8" lang="en">
<![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en">
<![endif]-->
<!--[if gt IE 8]>
<!-->
<html class="no-js<?php if(isset($theArticle->classes))echo ' '.$theArticle->classes ;?>" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title><?php echo $theArticle->title; ?>Code Médula – Blog de código</title>
<?php if (isset($theArticle->subtitle)): ?>
<meta name="description" content="<?php echo $theArticle->subtitle; ?>">
<?php endif ?>
<meta name="author" content="B. Agustín Amenabar L.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css?ck=<?php echo filemtime("css/styles.css"); ?>">
<script src="js/libs/modernizr-2.5.3-respond-1.1.0.min.js"></script>
</head>
<body>
<div class="mainContainer">
<header class="contiene-logo">
<a href="./"><noscript>
<img src="img/content/logo-blog-medula-code.png" alt="Logotipo Médula Diseño Code Blog">
</noscript></a></header><div class="corporis"><article>
<?php require $theArticle->path; ?>
<footer>
<?php if ( isset($theArticle->tags) && $theArticle->tags ): ?>
<h2>Tags: <?php echo $theArticle->tags; ?></h2>
<?php endif ?>
<h2>Comments</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'codeblogmedula'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
<a href="https://disqus.com" class="dsq-brlink">
comments powered by
<span class="logo-disqus">Disqus</span>
</a>
</footer>
</article><?php include "inc/template/aside-gral.php"; ?>
</div>
</div>
<!-- #main-container -->
<div id="footer-container">
<footer>
<h1>Artículos recientes</h1>
<?php include "inc/template/recientes.php"; ?>
<?php include "inc/template/creditos.php"; ?>
</footer>
</div>
<script type="text/javascript" src="https://use.typekit.com/zod4yoy.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/script.js"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23469330-1']);
_gaq.push(['_setDomainName', 'code.medula.cl']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>