-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.php
76 lines (65 loc) · 3.14 KB
/
home.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
<?php header('Cache-Control: no-store, no-cache, must-revalidate');
header('Pragma: no-cache'); ?><!doctype html>
<html class="svg js" lang="en">
<head>
<title>Code Médula – Blog de código</title>
<meta name="description" content="Artículos relacionados con el desarrollo de páginas web, aplicacciones y temas web en general.">
<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 type="text/javascript" src="https://use.typekit.com/zod4yoy.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</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">
<div class="articleGroup">
<?php foreach ($articleList as $oneArticle): ?>
<article>
<header>
<a href="./article_<?php echo urlencode( $oneArticle['cleanname'] ); ?>.html"><h1><?php echo $oneArticle['title']; ?></h1>
<?php if (isset($oneArticle['subtitle'])): ?>
<h2><?php echo $oneArticle['subtitle']; ?></h2>
<?php endif ?></a>
</header>
<?php if (isset($oneArticle['pubDate'])): ?>
<p class="pubDate">Published: <time datetime="<?php echo $oneArticle['pubDate'] ?>" pubdate><?php echo $oneArticle['pubDate'] ?></time><?php if (isset($oneArticle['author'])): ?> | <?php echo $oneArticle['author'] ?> <?php endif ?></p>
<?php endif ?>
<p><?php if (isset($oneArticle['intro'])): ?>
<?php echo $oneArticle['intro'] ?>
<?php endif ?>
<a href="./article_<?php echo urlencode( $oneArticle['cleanname'] ); ?>.html">Read more</a></p>
</article>
<?php endforeach ?>
</div><?php include "inc/template/aside-gral.php"; ?>
</div>
</div>
<!-- #main-container -->
<div id="footer-container">
<footer>
<?php include "inc/template/creditos.php"; ?>
</footer>
</div>
<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>
/* testing what's available with modernizr
$(document).ready(function(){
$('.rtest').html('<ul><li>'+$('html').attr('class').split(' ').join('</li><li>')+'</li></ul>' );
});*/
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>