template proje hazır.
template proje hazır.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
{% load static %}
|
||||
{% templatetag openblock %} load static {% templatetag closeblock %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="tr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- Django değişkeni: Proje adını sekme başlığı yapar -->
|
||||
<title>{% block title %}{{ project_name }}{% endblock %}</title>
|
||||
<title>{% templatetag openblock %} block title {% templatetag closeblock %}{{ project_name }}{% templatetag openblock %} endblock {% templatetag closeblock %}</title>
|
||||
<!-- Bootstrap 5 CSS (CDN) -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
<link href="{% templatetag openblock %} static 'css/bootstrap.min.css' {% templatetag closeblock %}"
|
||||
rel="stylesheet">
|
||||
<!-- İsteğe bağlı kendi CSS dosyan için hazırlık -->
|
||||
<!-- <link rel="stylesheet" href="{% static 'css/style.css' %}"> -->
|
||||
<!-- <link rel="stylesheet" href="{% templatetag openblock %} static 'css/style.css' {% templatetag closeblock %}"> -->
|
||||
</head>
|
||||
<body class="d-flex flex-column min-vh-100 bg-light">
|
||||
<!-- Üst Navigasyon Çubuğu (Navbar) -->
|
||||
@@ -40,7 +41,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% block content %}{% endblock %}
|
||||
{% templatetag openblock %} block content {% templatetag closeblock %}{% templatetag openblock %} endblock {% templatetag closeblock %}
|
||||
<!-- Alt Kısım (Footer) -->
|
||||
<footer class="footer mt-auto py-3 bg-white border-top">
|
||||
<div class="container text-center">
|
||||
@@ -50,8 +51,8 @@
|
||||
</div>
|
||||
</footer>
|
||||
<!-- Bootstrap 5 JS (CDN) -->
|
||||
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>
|
||||
<script src="{% templatetag openblock %} static 'js/bootstrap.bundle.min.js' {% templatetag closeblock %}"></script>
|
||||
<!-- İsteğe bağlı kendi JS dosyan için hazırlık -->
|
||||
<!-- <script src="{% static 'js/main.js' %}"></script> -->
|
||||
<!-- <script src="{% templatetag openblock %} static 'js/main.js' {% templatetag closeblock %}"></script> -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user