change templates html to djhtml

This commit is contained in:
Jesús
2018-11-02 22:01:05 -05:00
parent 8cd923174d
commit d7411f5af4
5 changed files with 167 additions and 170 deletions

View File

@@ -0,0 +1,52 @@
<!Doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Sitio personal de Jesús</title>
{% load static %}
<link rel="icon" href="{% static 'core/images/favicon.png' %}" sizes="192x192" />
<link rel="stylesheet" type="text/css"
href="{% static 'core/lib/normalize-css/normalize.css' %}"
integrity="sha512-Ol+aW3PNQAjGdD0KCyelmB8whw85m+OUP6XSSFSfCC9CobIfc3/PpYI5y8G1KINs61i24t+qPh6ecNOkKIwj1g=="/>
<link rel="stylesheet" type="text/css"
href="{% static 'core/css/estilos.min.css' %}"
integrity="sha512-YOw+5YDQUjMCYAwGLEIKxRfsp5AhcNF5MznjoLsZ3wpKA7SYaih8hH4Re18oTCBoGCN7BpANWd/62coJEg9qKg=="/>
</head>
<body>
<!-- Header and Menu -->
<header>
<div class="contenedor">
<nav class="menu">
<a href="#" id="btn-acerca-de">Acerca de</a>
<a href="#" id="btn-trabajos">Proyectos</a>
<a href="#" id="btn-contacto">Contacto</a>
</nav>
<div class="contenedor-texto">
<div class="texto">
<h1 class="nombre">Jesús</h1>
<h2 class="profesion">Desarrollador</h2>
</div>
</div>
</div>
</header>
<!-- content -->
<main>
{% block content %}{% endblock %}
</main>
{% block footer %}
{% block contacto %}{% endblock %}
{% endblock %}
<script src="{% static 'core/js/formulario.min.js' %}"
integrity="sha512-0ZbDyM52f1CnXGGXXH2efXrOjZm8X/BwK0xyy5uXAOZZ2+QHXwbYssKghNqBW4bRzpB4eQhUIhvNqbePPcu4iA=="></script>
<script src="{% static 'core/lib/jquery/dist/jquery.min.js' %}"
integrity="sha512-3P8rXCuGJdNZOnUx/03c1jOTnMn3rP63nBip5gOP2qmUh5YAdVAvFZ1E+QLZZbC1rtMrQb+mah3AfYW11RUrWA=="></script>
<script src="{% static 'core/js/efectos.min.js' %}"
integrity="sha512-PRBtv3Oe/QWmjUhk4y1L/Woak7V/2OBu4+iSzUs3yqy7LDXmNm9aIM28hbT+ccWqd3mFefyKj2X7rxRONIreTA=="></script>
</body>
</html>

View File

@@ -1,53 +0,0 @@
<!Doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Sitio personal de Jesús</title>
{% load static %}
<link rel="icon" href="{% static 'core/images/favicon.png' %}" sizes="192x192" />
<link rel="stylesheet" type="text/css"
href="{% static 'core/lib/normalize-css/normalize.css' %}"
integrity="sha512-Ol+aW3PNQAjGdD0KCyelmB8whw85m+OUP6XSSFSfCC9CobIfc3/PpYI5y8G1KINs61i24t+qPh6ecNOkKIwj1g=="/>
<link rel="stylesheet" type="text/css"
href="{% static 'core/css/estilos.min.css' %}"
integrity="sha512-YOw+5YDQUjMCYAwGLEIKxRfsp5AhcNF5MznjoLsZ3wpKA7SYaih8hH4Re18oTCBoGCN7BpANWd/62coJEg9qKg=="/>
</head>
<body>
<!-- Header and Menu -->
<header>
<div class="contenedor">
<nav class="menu">
<a href="#" id="btn-acerca-de">Acerca de</a>
<a href="#" id="btn-trabajos">Proyectos</a>
<a href="#" id="btn-contacto">Contacto</a>
</nav>
<div class="contenedor-texto">
<div class="texto">
<h1 class="nombre">Jesús</h1>
<h2 class="profesion">Desarrollador</h2>
</div>
</div>
</div>
</header>
<!-- content -->
<main>
{% block content %}{% endblock %}
</main>
{% block footer %}
{% block contacto %}{% endblock %}
{% endblock %}
<script src="{% static 'core/js/formulario.min.js' %}"
integrity="sha512-0ZbDyM52f1CnXGGXXH2efXrOjZm8X/BwK0xyy5uXAOZZ2+QHXwbYssKghNqBW4bRzpB4eQhUIhvNqbePPcu4iA=="></script>
<script src="{% static 'core/lib/jquery/dist/jquery.min.js' %}"
integrity="sha512-3P8rXCuGJdNZOnUx/03c1jOTnMn3rP63nBip5gOP2qmUh5YAdVAvFZ1E+QLZZbC1rtMrQb+mah3AfYW11RUrWA=="></script>
<script src="{% static 'core/js/efectos.min.js' %}"
integrity="sha512-PRBtv3Oe/QWmjUhk4y1L/Woak7V/2OBu4+iSzUs3yqy7LDXmNm9aIM28hbT+ccWqd3mFefyKj2X7rxRONIreTA=="></script>
</body>
</html>