Skip to content

Commit

Permalink
Implementing LUME based on https://lume.land/docs/creating-pages/
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfieKnee committed Nov 14, 2023
1 parent bd9457a commit 2d16579
Show file tree
Hide file tree
Showing 18 changed files with 153 additions and 19 deletions.
8 changes: 8 additions & 0 deletions _config.js
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;
2 changes: 0 additions & 2 deletions _config.yml

This file was deleted.

31 changes: 31 additions & 0 deletions _data.yml
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/

33 changes: 33 additions & 0 deletions _includes/main.njk
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>
10 changes: 10 additions & 0 deletions deno.json
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]/"
}
}
Binary file added img/In-Blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Nc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/github-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/researchgate-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions README.md → index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# David Wolfson
**[LinkedIn](https://www.linkedin.com/in/david-wolfson-6149a38/ "LinkedIn")** |
**[Research Gate](https://www.researchgate.net/profile/David-Wolfson-8)** | **[My Northcoders](https://account.northcoders.com/)**

---
#title: homepage
navigation: home
layout: main.njk
---
A page to hold blog-like information and pointers to my career history and digital portfolio, hosted on [gitHub](https://github.com/WolfieKnee/).

| [career](medicalDevices.md) | [resume](resume.md) | [projects](projects.md) | [events](events.md) | [other interests](otherInterests.md) | [reading list](readingList.md) | [coding](coding.md) |

<details>
<summary> my plan for this page:</summary>
<summary> about this page:</summary>
<ul>
<li>I really like the work and approach that <a href = "https://open-innovations.org/">Open Innovations</a> do so I'd like to emmulate their approach and technology stack in any training or personal projects that I undertake. <a href="https://open-innovations.org/search/?author=lstrange">Luke Strange</a> was kind enough to point me to this overview of the <a href="https://open-innovations.github.io/platform/">Open Innovations Platform</a></li>
<li>When it is a bit more ready I should redirect my personal url: <a href="davidwolfson.co.uk">davidwolfson.co.uk</a> to this, but for now it can stay pointing to <a href="https://www.linkedin.com/in/david-wolfson-6149a38/">my LinkedIn profile</a></li>
Expand Down
2 changes: 2 additions & 0 deletions pages/_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
layout: main.njk
type: sitePage
8 changes: 8 additions & 0 deletions medicalDevices.md → pages/career.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
title: Portfolio of my work in Medical Devices
navigation: medical devices
author: Dave W
tags:
- MedDev
---

### my PhD
* I did a PhD at University of Nottingham and my thesis on [on Biomechanics of shaken baby syndrome](https://eprints.nottingham.ac.uk/11217/) is public so if you want you can read it if you like. To do all the processing of experimental data, and then automate running of computational models I built a RedHat Linux server, learned Perl and Python and then realised that my MATLAB code was so slow that I re-wrote it all in C++... I'm looking for examples of all that code on (very) old backup DVDs at the moment, but I suspect it is Fugly!

Expand Down
10 changes: 9 additions & 1 deletion coding.md → pages/coding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
a page to collate useful infromation to for learning to code
---
title: a page to collate useful information for learning to code
navigation: coding
author: Dave W
tags:
- code
---



* [command line cheat sheet](https://www.git-tower.com/blog/command-line-cheat-sheet/)
* [shell workshop](https://www.udacity.com/course/shell-workshop--ud206)
Expand Down
21 changes: 15 additions & 6 deletions events.md → pages/events.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# events that I'm interested in
---
title: events
navigation: events
author: Dave W
tags:
- events
---
(could/should this move to a json data file? I could then pressent reccent/upcoming only..)

## events that I'm interested in going to
* 29-30 November 2023, [Faculty of Clinical Informatics (FCI)](https://fci.org.uk/) are holding their [4th Annual Scientific Conference](https://fci.org.uk/events/fci-annual-scientific-conference-2023.html)

## events that I have been to
* 9-10 November 2023, Chester: [bcs](https://www.bcs.org/) have their [Primary Health Care SG Education day, AGM and 42nd Annual conference 2023](https://www.bcs.org/membership-and-registrations/member-communities/primary-health-care-specialist-group/conferences-and-events/phcsg-agm-and-annual-conference-2023/)
* 2nd November 2023, Leeds: [UK MedTech Innovation Assembly '23](https://halstongroup.co/events/medtech-innovation-assembly/)
* 14-15 October 2023, Leicester: There is an [NHS hackday](https://nhshackday.com/events/2023/10/leicester) but this is a weekend so probably won't fly... does the site have other events? it certainly has some good resources!


## and events that I have been to
* a list of #ldf2023 events that I went to...
* [no code](https://www.nocodelab.co.uk/) netzero hack
* [communitas enercy CIC](Communitas Energy CIC)
Expand All @@ -15,4 +21,7 @@
* https://www.inclusivegrowthleeds.com/leeds-social-progress-index
* https://northernpowergrid.opendatasoft.com/
* https://youthfuturesfoundation.org/toolkit/
* https://www.cluetrain.com/
* https://www.cluetrain.com/

## events I didn't make it to
* 14-15 October 2023, Leicester: There is an [NHS hackday](https://nhshackday.com/events/2023/10/leicester) but this is a weekend so probably won't fly... does the site have other events? it certainly has some good resources!
11 changes: 10 additions & 1 deletion otherInterests.md → pages/interests.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
## and finally, other things that interest me
---
title: Other things that interest me
navigation: other
author: Dave W
tags:
- DEI
- NetZero
- Health
---

### diversity and inclusion
* [a blog from kent about health equality](https://kenthealthinequalityuk.wordpress.com/2023/08/29/reducing-inequality-and-variations/)

Expand Down
6 changes: 6 additions & 0 deletions projects.md → pages/projects.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
title: Interesting Projects
navigation: projects
tags:
- Projects
---
After 17 years working on research and development of knee replacement devices, my redundancy from DePuy in September 2023 has provided me with the opportunity to consider my future career in healthcare technology. Over recent months I have had many great conversations, some with people I have known most or all of my life, and others with people I have only just met. These conversations have highlighted the importance of considering not only _what_ I do for work, but _why_ I do it. As we move into this period where Data & DHT will have significant societal impact, training is readily available to learn the new skills I need to support _what_ work I do. However, learning about _why_ I do that work is more of a personal exploration. This page is part of that personal exploration, and contains a collection of thoughs, ideas and potential projects that I feel I would highly motived to do, and interesting to work on.
If any of this interested you enough to get in touch please reach out through [LinkedIn](https://www.linkedin.com/in/david-wolfson-6149a38/ "LinkedIn").

Expand Down
9 changes: 8 additions & 1 deletion readingList.md → pages/reading.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
a page to keep a list of things I've read, or want to read
---
title: Reading List
navigation: reading
author: Dave W
tags:
- Reading

---
<!-- a page to keep a list of things I've read, or want to read -->
I'm a BIG fan of [Through the Wardrobe](https://www.throughthewardrobebooks.co.uk/), a ~~small~~ tiny independant children's bookshop in Mirfield, West Yorkshire. They are signed up to [bookshop.org](https://uk.bookshop.org/) so wherever I can I'll link to the books in [Through the Wardrobe](https://uk.bookshop.org/shop/WardrobeBooks)'s store - if you can buy through there please do, and supports this local business.

## adventure
Expand Down
8 changes: 7 additions & 1 deletion resume.md → pages/resume.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Resume
---
title: Resume
navigation: resume
tags:
- resume
---

This is not intended as a CV, but a place where I can collect a full resume of experiences which I can pick from an taylor for specific roles. In particular I am working on [CAR stories](https://www.ctp.org.uk/focus/tips-and-advice-5-steps-to-successfully/507910). If you're here and reading it I hope you find it interesting, but please also see my [LinkedIn](https://www.linkedin.com/in/david-wolfson-6149a38/) and contact me there if you'd like to talk about work opportunities.

note: I had this saved as a document, but that wasn't very accessible to me, and as I'm trying to 'put everything on the web' as [open innovations](https://open-innovations.org/) reccomend, here it is!
Expand Down

0 comments on commit 2d16579

Please sign in to comment.