Skip to content

Commit ba63861

Browse files
committed
rework site a bit
1 parent db7a8ac commit ba63861

File tree

17 files changed

+42
-39
lines changed

17 files changed

+42
-39
lines changed

.eleventy.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
module.exports = function(eleventyConfig) {
22
eleventyConfig.addPassthroughCopy("CNAME");
3-
eleventyConfig.addPassthroughCopy("./src/style/");
4-
eleventyConfig.addPassthroughCopy("./src/scripts/");
5-
eleventyConfig.addPassthroughCopy("favicon.ico");
6-
eleventyConfig.addPassthroughCopy("./src/.well-known");
7-
eleventyConfig.addPassthroughCopy("./src/media");
8-
eleventyConfig.addPassthroughCopy('src/private/media/');
9-
eleventyConfig.addPassthroughCopy({ 'src/robots.txt': '/robots.txt' });
10-
eleventyConfig.addPassthroughCopy({ 'src/ai.txt': '/ai.txt' });
3+
eleventyConfig.addPassthroughCopy("./src/assets");
4+
eleventyConfig.addPassthroughCopy("./src/css");
5+
eleventyConfig.addWatchTarget("./src/assets");
116
return {
127
dir: {
138
input: 'src',
@@ -19,4 +14,6 @@ module.exports = function(eleventyConfig) {
1914
htmlTemplateEngine: 'njk',
2015
dataTemplateEngine: 'njk',
2116
}
22-
}
17+
};
18+
19+

src/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
layout: layouts/base.html
55
permalink: 404.html
66
---
7-
{% include "navbar.html" %}
7+
{% include "partials/navbar.html" %}
88
<main style="text-align: center; padding-top: 50px;">
99
<h1>Error 404</h1>
1010
<p>Page not found</p>

src/_includes/layouts/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
{% include "basehead.html" %}
5-
<link rel="stylesheet" href="/style/base.css">
4+
{% include "partials/basehead.html" %}
5+
<link rel="stylesheet" href="/css/base.css">
66
</head>
77
<body>
88
{{content | safe}}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<title>{{title}}</title>
44
<meta name="description" content="{{description}}">
55
<meta name="author" content="alizardguy">
6-
<link rel="stylesheet" href="/style/navbar.css">
7-
<link rel="stylesheet" href="/style/dividers.css">
6+
<link rel="stylesheet" href="/css/navbar.css">
7+
<link rel="stylesheet" href="/css/dividers.css">
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)