Skip to content

Commit 1ab7a91

Browse files
committed
restructure source files
1 parent 99de347 commit 1ab7a91

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all: index.html
55
clean:
66
rm -f index.html
77

8-
index.html: index.md template.html Makefile
9-
pandoc --toc -s --css reset.css --css index.css -Vversion=v$(VERSION) -i $< -o $@ --template=template.html
8+
index.html: demo/index.md demo/template.html Makefile
9+
pandoc --toc -s --css src/reset.css --css src/index.css -Vversion=v$(VERSION) -i $< -o $@ --template=demo/template.html
1010

1111
.PHONY: all clean
File renamed without changes.
File renamed without changes.

template.html renamed to demo/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ <h2 id="$idprefix$toc-title">$toc-title$</h2>
7171
$include-after$
7272
$endfor$
7373
<div class="debug-grid"></div>
74-
<script src="index.js"></script>
74+
<script src="src/index.js"></script>
7575
</body>
7676
</html>

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<meta name="author" content="Oskar Wickström" />
88
<meta name="dcterms.date" content="2024-08-26" />
99
<title>The Monospace Web</title>
10-
<link rel="stylesheet" href="reset.css" />
11-
<link rel="stylesheet" href="index.css" />
10+
<link rel="stylesheet" href="src/reset.css" />
11+
<link rel="stylesheet" href="src/index.css" />
1212
</head>
1313
<body>
1414
<table class="header">
@@ -18,7 +18,7 @@ <h1 class="title">The Monospace Web</h1>
1818
<span class="subtitle">A minimalist design exploration</span>
1919
</td>
2020
<th>Version</th>
21-
<td class="width-min">v0.1.2</td>
21+
<td class="width-min">v0.1.3</td>
2222
</tr>
2323
<tr>
2424
<th>Updated</th>
@@ -320,6 +320,6 @@ <h2 id="discussion">Discussion</h2>
320320
href="https://x.com/usgraphics">U.S. Graphics Company</a> for all the
321321
inspiration.</p>
322322
<div class="debug-grid"></div>
323-
<script src="index.js"></script>
323+
<script src="src/index.js"></script>
324324
</body>
325325
</html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@owickstrom/the-monospace-web",
33
"version": "0.1.3",
44
"description": " A minimalist design exploration",
5-
"main": "index.css",
5+
"main": "src/index.css",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)