-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementing LUME based on https://lume.land/docs/creating-pages/
- Loading branch information
1 parent
bd9457a
commit 2d16579
Showing
18 changed files
with
153 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import lume from "lume/mod.ts"; | ||
|
||
const site = lume(); | ||
|
||
// Copy the "img" directory to _site/img | ||
site.copy("img"); | ||
|
||
export default site; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
sitetitle: David Wolfson | ||
description: putting everything online | ||
links: | ||
- text: LinkedIn | ||
url: https://www.linkedin.com/in/david-wolfson-6149a38 | ||
image: /img/In-Blue.png | ||
- text: GitHub | ||
url: https://github.com/WolfieKnee/ | ||
image: /img/github-mark.png | ||
- text: Research Gate | ||
url: https://www.researchgate.net/profile/David-Wolfson-8 | ||
image: /img/researchgate-icon.png | ||
- text: Northcoders | ||
url: https://account.northcoders.com/ | ||
image: /img/Nc.png | ||
pages: | ||
- text: career | ||
url: /pages/career/ | ||
- text: resume | ||
url: /pages/resume/ | ||
- text: projects | ||
url: /pages/projects/ | ||
- text: events | ||
url: /pages/events/ | ||
- text: interests | ||
url: /pages/interests/ | ||
- text: reading | ||
url: /pages/reading/ | ||
- text: coding | ||
url: /pages/coding/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>DW: {{ title }}</title> | ||
</head> | ||
<body> | ||
<main> | ||
<header> | ||
<h1><a href="">{{ sitetitle }}</a> | ||
{# add in links and icons #} | ||
{% for link in links %} | ||
<a href="{{ link.url }}"><img src="{{link.image}}" style="height:28px"></a> | ||
{% endfor %} | ||
</h1> | ||
</header> | ||
{# add in navigation #} | ||
<navigation> | | ||
{% for page in pages %} | ||
<a href="{{ page.url }}">{{page.text}}</a> | | ||
{% endfor %} | ||
|
||
|
||
</navigation> | ||
<h2>{{ title }}</h2> | ||
{{ content | safe }} | ||
</main> | ||
</body> | ||
<footer>(C) <a href="https://creativecommons.org/licenses/by/4.0/">CC 4.0</a> By David Wolfson 2023</footer> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"tasks": { | ||
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A -", | ||
"build": "deno task lume", | ||
"serve": "deno task lume -s" | ||
}, | ||
"imports": { | ||
"lume/": "https://deno.land/x/[email protected]/" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
layout: main.njk | ||
type: sitePage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters