aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
blob: 5d813997c4afa21645e78ec549988e2a2047db84 (plain)
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
<?php
require_once('smarty/libs/Smarty.class.php');
$titulo="Sitio personal de Jesús";
$nombre="Jesús";
$profesion="Desarrollador";
$descripcion="Este es el sitio web personal de Jesús, un desarrollador, colaborador y hacker de proyectos con software Libre en reemplazo a las tecnologías privativas.";
$enviado = "";

/* ---- ---- Correo ---- ---- */
require_once('mail/mail.php');

/* ---- ---- Menu ---- ---- */
$html=new Smarty;
$html->assign("titulo", $titulo);
$html->assign("nombre", $nombre);

/* ---- ---- Fecha ---- ---- */
$html->assign('yesterday', strtotime("now"));

/* ---- ---- Description and Author ---- ---- */
$html->assign("description", $descripcion);

/* ---- ---- EMAIL ---- ----  */
$html->assign("enviado", $enviado);

/* ---- ---- CSS ---- ----  */
$html->assign('templates', array('estilos' => 'templates/css/estilos.min.css',
                                 'normalize' => 'templates/css/normalize.css',
                                 'favicon' => 'templates/images/favicon.png')
);

/* ---- ---- LibreJS ---- ---- */
$html->assign('librejs', array('librejs' => 'templates/librejs.html',
                               'formulario' => 'templates/js/formulario.min.js')
);

/* ---- ---- Projects and redes Sociales Libres ---- ---- */
$html->assign('projects',
              array('cl' => 'https://conocimientoslibres.tuxfamily.org',
                    'hyperbola' => 'https://www.hyperbola.info',
                    'librevideojs' => 'https://notabug.org/heckyel/librevideojs')
);

$html->assign('sociales',
              array('diaspora' => 'https://diasp.org/u/heckyel',
                    'gnusocial' => 'https://quitter.cl/heckyel',
                    'libregit' => 'https://libregit.org/heckyel',
                    'mediagoblin' => 'https://goblinrefuge.com/mediagoblin/u/cybersy/')
);

$html->display('index.tpl');