Skip to content

Commit

Permalink
CV Update
Browse files Browse the repository at this point in the history
  • Loading branch information
robstarbuck committed Mar 19, 2024
1 parent 97758b3 commit 19c7863
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 7 deletions.
3 changes: 3 additions & 0 deletions _config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Page } from "lume/core/file.ts";
import lume from "lume/mod.ts";
import dateplugin from "lume/plugins/date.ts";
import codeHighlight from "lume/plugins/code_highlight.ts";
import esbuild from "lume/plugins/esbuild.ts";

Expand All @@ -22,6 +23,8 @@ site.use(
})
);

site.use(dateplugin())

const [date, time] = new Date().toISOString().split(/T|\./);

site.data("buildDate", date);
Expand Down
19 changes: 19 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions src/_includes/cv.vto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ title }} | robstarbuck.uk</title>
<title>CV {{ date |> date('yyyy-MM-dd') }}</title>

<style>
@media print {
title {
content: "My Print-Specific Title";
}
}
</style>
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="/font.css">
Expand All @@ -12,6 +20,8 @@
<link rel="stylesheet" href="/index.css"></link>
<link rel="stylesheet" href="/highlight-js/robstarbuck.uk.css"></link>

<link rel="stylesheet" href="/cv.css"></link>

<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=.75">

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
Expand Down Expand Up @@ -46,8 +56,4 @@
</a>
</footer>
</body>
<link rel="stylesheet" href="/minireset.css"></link>
<link rel="stylesheet" href="/vertical-rhythm.css"></link>
<link rel="stylesheet" href="/index.css"></link>
<link rel="stylesheet" href="/cv.css"></link>
</html>
4 changes: 2 additions & 2 deletions src/styles/cv.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ p > strong {
background: none;
}
:root::after, body::after {
content: none;
content: none !important;
}
nav, footer {
nav, footer, .post-script {
display: none;
}
main {
Expand Down

0 comments on commit 19c7863

Please sign in to comment.