Compare commits

..

2 Commits

Author SHA1 Message Date
gballan 604025179c Converting from SASS to SCSS 2025-07-01 13:56:45 -04:00
gballan e06f3274ec Added a new scripts block to the default layout 2025-07-01 13:49:00 -04:00
5 changed files with 12 additions and 4 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ module.exports = function (grunt) {
{
expand: true,
cwd: "assets/styles",
src: ["**/*.sass"],
src: ["**/*.scss"],
dest: "public/css",
ext: ".css",
},
@@ -37,7 +37,7 @@ module.exports = function (grunt) {
watch: {
css: {
files: ["assets/styles/**/*.sass"],
files: ["assets/styles/**/*.scss"],
tasks: ["sass"],
options: {
atBegin: true,
+5
View File
@@ -0,0 +1,5 @@
$primary-color: teal;
body {
background: #eee;
}
+1
View File
@@ -8,6 +8,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="/css/eye.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" charset="utf-8"></script>
{% block scripts %}{% endblock %}
</head>
<body>
{% include 'partials/navbar.twig' %}
+4 -2
View File
@@ -2,6 +2,10 @@
{% block title %}Test: {{ test.title }}{% endblock %}
{% block scripts %}
<script src="/js/test.js" type="text/javascript"></script>
{% endblock %}
{% block content %}
<div class="row">
<h2>Test: {{ test.title }}</h2>
@@ -81,6 +85,4 @@
<p><a href="/test">Back</a></p>
</div>
<script src="/js/test.js" type="text/javascript"></script>
{% endblock %}