Skip to content

Commit 75630cb

Browse files
committed
Added Sample Footer (customisation)
1 parent e662968 commit 75630cb

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

core/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@
6363

6464
ROOT_URLCONF = "core.urls"
6565

66+
HOME_TEMPLATES = os.path.join(BASE_DIR, 'home', 'templates')
67+
6668
TEMPLATES = [
6769
{
6870
"BACKEND": "django.template.backends.django.DjangoTemplates",
69-
"DIRS": [],
71+
"DIRS": [HOME_TEMPLATES],
7072
"APP_DIRS": True,
7173
"OPTIONS": {
7274
"context_processors": [
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<footer class="bg-white rounded shadow p-5 mb-4 mt-4">
2+
<div class="row">
3+
<div class="col-12 col-md-4 col-xl-6 mb-4 mb-md-0">
4+
<p class="mb-0 text-center text-lg-start">
5+
&copy; Your Company HERE
6+
</p>
7+
</div>
8+
<div class="col-12 col-md-8 col-xl-6 text-center text-lg-start">
9+
<!-- List -->
10+
<ul class="list-inline list-group-flush list-group-borderless text-md-end mb-0">
11+
<li class="list-inline-item px-0 px-sm-2">
12+
<a href="#">LINK_1</a>
13+
</li>
14+
<li class="list-inline-item px-0 px-sm-2">
15+
<a href="#">LINK_2</a>
16+
</li>
17+
<li class="list-inline-item px-0 px-sm-2">
18+
<a target="_blank"
19+
href="https://appseed.us/support/">Support</a>
20+
</li>
21+
</ul>
22+
</div>
23+
</div>
24+
</footer>

0 commit comments

Comments
 (0)