fix scss imports

This commit is contained in:
Corban-Lee Jones 2024-11-06 00:19:31 +00:00
parent a89cbdd02a
commit 00441acf08
4 changed files with 9 additions and 6 deletions

View File

@ -0,0 +1 @@
@import "scss/base.scss"

View File

@ -1,13 +1,18 @@
{% extends "base.html" %}
{% load static %}
{% load compress %}
{% block title %}
Venues |
{% endblock title %}
{% block style %}
{% block stylesheets %}
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
{% endblock style %}
{% compress css %}
<link type="text/x-scss" rel="stylesheet" href="{% static 'home/scss/index.scss' %}">
{% endcompress %}
{% endblock stylesheets %}
{% block header_buttons %}
{% endblock header_buttons %}

View File

@ -5,7 +5,7 @@
*/
$bootstrap-icons-font: "bootstrap-icons" !default;
$bootstrap-icons-font-dir: "../fonts/Bootstrap" !default;
$bootstrap-icons-font-dir: "/static/fonts/Bootstrap" !default;
$bootstrap-icons-font-file: "#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}" !default;
$bootstrap-icons-font-hash: "24e3eb84d0bcaf83d77f904c78ac1f47" !default;
$bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2?#{$bootstrap-icons-font-hash}") format("woff2"),

View File

@ -31,9 +31,6 @@
<link rel="icon" href="">
<link rel="stylesheet" type="text/css" href="{% static 'css/custom.css' %}" media="screen">
{% compress css %}
<link type="text/x-scss" rel="stylesheet" href="{% static '/scss/base.scss' %}">
{% endcompress %}
{% include "includes/fonts.html" %}
{% block stylesheets %}{% endblock %}