restructure source files

This commit is contained in:
Oskar Wickström
2025-01-25 14:51:52 +01:00
parent 99de347a6b
commit 1ab7a91565
9 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ all: index.html
clean:
rm -f index.html
index.html: index.md template.html Makefile
pandoc --toc -s --css reset.css --css index.css -Vversion=v$(VERSION) -i $< -o $@ --template=template.html
index.html: demo/index.md demo/template.html Makefile
pandoc --toc -s --css src/reset.css --css src/index.css -Vversion=v$(VERSION) -i $< -o $@ --template=demo/template.html
.PHONY: all clean

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@@ -71,6 +71,6 @@ $for(include-after)$
$include-after$
$endfor$
<div class="debug-grid"></div>
<script src="index.js"></script>
<script src="src/index.js"></script>
</body>
</html>

View File

@@ -7,8 +7,8 @@
<meta name="author" content="Oskar Wickström" />
<meta name="dcterms.date" content="2024-08-26" />
<title>The Monospace Web</title>
<link rel="stylesheet" href="reset.css" />
<link rel="stylesheet" href="index.css" />
<link rel="stylesheet" href="src/reset.css" />
<link rel="stylesheet" href="src/index.css" />
</head>
<body>
<table class="header">
@@ -18,7 +18,7 @@
<span class="subtitle">A minimalist design exploration</span>
</td>
<th>Version</th>
<td class="width-min">v0.1.2</td>
<td class="width-min">v0.1.3</td>
</tr>
<tr>
<th>Updated</th>
@@ -320,6 +320,6 @@ href="https://github.com/owickstrom/the-monospace-web">github.com/owickstrom/the
href="https://x.com/usgraphics">U.S. Graphics Company</a> for all the
inspiration.</p>
<div class="debug-grid"></div>
<script src="index.js"></script>
<script src="src/index.js"></script>
</body>
</html>

View File

@@ -2,7 +2,7 @@
"name": "@owickstrom/the-monospace-web",
"version": "0.1.3",
"description": " A minimalist design exploration",
"main": "index.css",
"main": "src/index.css",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},