-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from quillcraftsman/pretty_urls
add pretty urls to skeleton template
- Loading branch information
Showing
5 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
{} | ||
{ | ||
"prettify": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,29 +11,29 @@ | |
</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width"> | ||
<link rel="icon" type="image/x-icon" href="static/images/favicon.ico" /> | ||
<link rel="icon" type="image/x-icon" href="{% static 'images/favicon.ico' %}" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"> | ||
<link rel="stylesheet" href="static/css/bootstrap.css"> | ||
<link rel="stylesheet" href="{% static 'css/bootstrap.css' %}"> | ||
</head> | ||
|
||
<body class="d-flex flex-column h-100"> | ||
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="index.html">LavaCactus</a> | ||
<a class="navbar-brand" href="{% url '/index.html' %}">LavaCactus</a> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" | ||
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarCollapse"> | ||
<ul class="navbar-nav me-auto mb-2 mb-md-0"> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if_current_page '/index.html' 'active' '' %}" href="index.html">Home</a> | ||
<a class="nav-link {% if_current_page '/index.html' 'active' '' %}" href="{% url '/index.html' %}">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if_current_page '/about.html' 'active' '' %}" href="about.html">About</a> | ||
<a class="nav-link {% if_current_page '/about.html' 'active' '' %}" href="{% url '/about.html' %}">About</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if_current_page '/contact.html' 'active' '' %}" href="contact.html">Contact</a> | ||
<a class="nav-link {% if_current_page '/contact.html' 'active' '' %}" href="{% url '/contact.html' %}">Contact</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
@@ -46,8 +46,8 @@ | |
<footer | ||
class="footer mt-auto py-3 bg-dark d-flex flex-wrap justify-content-between align-items-center py-3 px-3 border-top"> | ||
<div class="col-md-4 d-flex align-items-center"> | ||
<a href="index.html" class="mb-3 me-2 mb-md-0 text-muted text-decoration-none lh-1"> | ||
<img src="static/images/logo.png" class="bi" width="30" height="24"> | ||
<a href="{% url '/index.html' %}" class="mb-3 me-2 mb-md-0 text-muted text-decoration-none lh-1"> | ||
<img src="{% static 'images/logo.png' %}" class="bi" width="30" height="24"> | ||
</a> | ||
<span class="mb-3 mb-md-0 text-muted">Copyleft 🄯 LavaCactus 2023</span> | ||
</div> | ||
|
@@ -61,8 +61,8 @@ | |
|
||
</footer> | ||
|
||
<script src="{% static 'static/js/vendor/jquery-3.7.0.js' %}"></script> | ||
<script src="{% static 'static/js/vendor/bootstrap.js' %}"></script> | ||
<script src="{% static 'js/vendor/jquery-3.7.0.js' %}"></script> | ||
<script src="{% static 'js/vendor/bootstrap.js' %}"></script> | ||
</body> | ||
|
||
{% block scripts %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters