Commit a54da1fb authored by Myriam Begel's avatar Myriam Begel

Créer un template de base

parent a27d00d3
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/static/perso_app/style.css">
<meta name="robots" content="index, follow"/>
<title> Page perso de Moi </title>
</head>
<body>
<header>
<img src="/static/perso_app/bouh.png" alt="Moi" id="moi"/>
<h1>Page Perso - Moi</h1>
<nav>
<ul>
<li> <a href="{% url 'accueil'%}"> Accueil </a> </li>
<li> <a href="{% url 'publications'%}"> Publications </a> </li>
<li> <a href="contact"> Contact </a> </li>
</ul>
</nav>
</header>
{% block body %}{% endblock %}
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/static/perso_app/style.css">
<meta name="robots" content="index, follow"/>
<title> Page perso de Moi </title>
</head>
<body>
<header>
<img src="/static/perso_app/bouh.png" alt="Moi" id="moi"/>
<h1>Page Perso - Moi</h1>
<nav>
<ul>
<li> <a href="/"> Accueil </a> </li>
<li> <a href="publications"> Publications </a> </li>
<li> <a href="contact"> Contact </a> </li>
</ul>
</nav>
</header>
{% extends 'perso_app/base.html' %}
{% block body %}
<section id="intro">
<p>
Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces.
......@@ -31,5 +13,4 @@
Primi igitur omnium statuuntur Epigonus et Eusebius ob nominum gentilitatem oppressi. praediximus enim Montium sub ipso vivendi termino his vocabulis appellatos fabricarum culpasse tribunos ut adminicula futurae molitioni pollicitos.
</p>
</section>
</body>
</html>
{% endblock %}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/static/perso_app/style.css">
<meta name="robots" content="index, follow"/>
<title> Page perso de Moi </title>
</head>
<body>
<header>
<img src="/static/perso_app/bouh.png" alt="Moi" id="moi"/>
<h1>Page Perso - Moi</h1>
<nav>
<ul>
<li> <a href="/"> Accueil </a> </li>
<li> <a href="publications"> Publications </a> </li>
<li> <a href="contact"> Contact </a> </li>
</ul>
</nav>
</header>
{% extends 'perso_app/base.html' %}
{% block body %}
<section id="publications">
<h2> Publications </h2>
{% for publication in publications %}
......@@ -32,5 +14,4 @@
<p> {{ publication.description }} </p>
{% endfor %}
</section>
</body>
</html>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment