Browse Source

Исправить шаблоны

Поменять заголовок, футер и текст в блоках.
master
Дмитрий 3 years ago
parent
commit
fce288d7ac
  1. 5
      blog/mainpage/templates/mainpage/index.html
  2. 2
      blog/templates/base.html

5
blog/mainpage/templates/mainpage/index.html

@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% block title %}Типулькины писульки{% endblock %}
{% block title %}Демка Django{% endblock %}
{% block content %}
<section class="section">
@ -11,7 +11,7 @@
<div class="tile is-child box">
<h2 class="title is-4">Главное</h2>
<div class="content">
<p>Информация о сайте.</p>
<p>Это демонстрационный сайт.</p>
</div>
</div>
</div>
@ -20,6 +20,7 @@
<div class="tile is-child box">
<h2 class="title is-4">Какая-то классная инфа</h2>
<p>Можно вывести каку-то инфу, кроме этого замечательного сообщения, служащего плейсхолдером. </p>
</div>
<div class="tile is-child box">

2
blog/templates/base.html

@ -18,7 +18,7 @@
<!-- footer goes here -->
<footer class="footer">
<div class="content has-text-centered">
Made with emacs and happy with that.
Powered by me with emacs when i ate the frog first.
</footer>
</body>
</html>

Loading…
Cancel
Save