Skip to content

Commit

Permalink
now lume ignores docs directory + css will be loaded asynchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
LowByteFox committed Aug 10, 2023
1 parent 41ffffb commit 31db8e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const site = lume({
location: new URL("https://tanzanitelang.github.io/taps/"),
});

site.ignore("docs");
site.use(basePath());
site.use(postcss());
site.use(vento());
Expand Down
4 changes: 1 addition & 3 deletions _includes/post.vto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<html>
<head>
<title>{{ page.data.title }}</title>
<link rel="stylesheet" href="../../code.css" media="print" onload="this.media='all'">
</head>
<body>
<div>
Expand Down Expand Up @@ -184,7 +185,4 @@
max-width: 100%;
}
</style>
<style>
@import "../../code.css";
</style>
</html>
4 changes: 1 addition & 3 deletions docs/proposals/0-Template/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html><head>
<title>Tap Template</title>
<link rel="stylesheet" href="../../code.css" media="print" onload="this.media='all'">
<meta property="og:type" content="website">
<meta property="og:url" content="https://tanzanitelang.github.io/taps/proposals/0-Template/">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -202,8 +203,5 @@ <h2>How to write a TAP</h2>
max-width: 100%;
}
</style>
<style>
@import "../../code.css";
</style>

</body></html>

0 comments on commit 31db8e2

Please sign in to comment.