diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 153cde7..ab59ee2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: - name: Install uses: docker://ghcr.io/morten-olsen/node-latex:main with: - args: pnpm install + args: pnpm install --no-frozen-lockfile - name: Build 🔧 uses: docker://ghcr.io/morten-olsen/node-latex:main env: diff --git a/bin/build/index.ts b/bin/build/index.ts index c2ed450..c4aa958 100644 --- a/bin/build/index.ts +++ b/bin/build/index.ts @@ -40,10 +40,6 @@ const build = async (cwd: string, config: Config) => { profile: data.profile, }); - resumeData.subscribe(() => { - console.log('resume'); - }); - const resumeUrl = createLatex({ bundler, path: '/resume', @@ -92,9 +88,6 @@ const build = async (cwd: string, config: Config) => { profile: data.profile, pdfUrl: Observable.link([pdf.item], async () => pdf.url), }); - article.subscribe(() => { - console.log('updated', slug); - }); createPage({ path: `/articles/${slug}`, props, diff --git a/bin/data/articles/index.ts b/bin/data/articles/index.ts index 82cdcc1..b10957d 100644 --- a/bin/data/articles/index.ts +++ b/bin/data/articles/index.ts @@ -21,7 +21,7 @@ const createArticles = ({ bundler, cwd, pattern }: ArticleOptions) => { const file = createFile({ path }); const article = file.pipe(async (raw) => { const { data, content } = grayMatter(raw); - const { title, slug, cover, color } = data; + const { title, slug, cover, color, ...rest } = data; const cwd = dirname(path); const markdown = await markdownBundleImages({ cwd, @@ -40,6 +40,7 @@ const createArticles = ({ bundler, cwd, pattern }: ArticleOptions) => { bundler, }); const result: Article = { + ...rest, title, raw: content, cover, diff --git a/bin/data/positions/index.ts b/bin/data/positions/index.ts index ddf8951..8683df7 100644 --- a/bin/data/positions/index.ts +++ b/bin/data/positions/index.ts @@ -18,11 +18,10 @@ const createPositions = ({ cwd, pattern, bundler }: PositionOptions) => { pattern, cwd, create: (path) => { - console.log('c', path); const file = createFile({ path }); const position = file.pipe(async (raw) => { const { data, content } = grayMatter(raw); - const { title } = data; + const { title, ...rest } = data; const cwd = dirname(path); const markdown = await markdownBundleImages({ cwd, @@ -30,6 +29,7 @@ const createPositions = ({ cwd, pattern, bundler }: PositionOptions) => { bundler, }); const result = { + ...rest, company: data.company, title, from: data.from, diff --git a/content/profile.yml b/content/profile.yml index a4c1738..bad6f78 100644 --- a/content/profile.yml +++ b/content/profile.yml @@ -19,6 +19,8 @@ info: value: Copenhagen, DK - name: Github value: https://github.com/morten-olsen + - name: Webpage + value: https://mortenolsen.pro skills: - name: Typescript level: 5 @@ -30,7 +32,15 @@ skills: level: 5 - name: Docker level: 4 + - name: Terraform + level: 4 + - name: Github Actions + level: 4 - name: NextJS level: 3 + - name: Amazon Web Services + level: 3 - name: Fastify level: 3 + - name: C\# + level: 3 diff --git a/content/resume/positions/haastrupit/main.md b/content/resume/positions/haastrupit/main.md index e7b304d..d0ee86e 100644 --- a/content/resume/positions/haastrupit/main.md +++ b/content/resume/positions/haastrupit/main.md @@ -3,6 +3,7 @@ company: Haastrup IT title: Web developer from: 2009 to: 2010 +resume: false --- I have worked as a part time project koordinator and systems developer, sitting with responsibility for a wide variety of projects including projects for "Københavns Kommune" (Navision reporting software) and "Syddanmarks kommune" (Electronic application processing system). Most projects were made in C#, but also PHP, VB, ActionScript. In addtion to that i maintained the in-house hosting setup. diff --git a/content/resume/positions/sydbank/main.md b/content/resume/positions/sydbank/main.md index 83c8caa..462be98 100644 --- a/content/resume/positions/sydbank/main.md +++ b/content/resume/positions/sydbank/main.md @@ -3,6 +3,7 @@ company: Sydbank title: IT Hotline from: 2007 to: 2009 +resume: false --- I work as a part-time supporter of customers (private and business) and staff, on Sydbanks different electronic banking systems. Mostly telephonic bug finding and PC setup. diff --git a/content/templates/latex/resume.tex b/content/templates/latex/resume.tex index fa28bfc..90cbbd0 100644 --- a/content/templates/latex/resume.tex +++ b/content/templates/latex/resume.tex @@ -9,7 +9,8 @@ \setlength{\columnseprule}{0.1pt} %\setlength{\columnsep}{1.5cm} \def \columncount {2} -\def \skillcolumncount {2} +\def \skillcolumncount {3} +\def \infocolumncount {2} \pagestyle{fancy} \fancyhf{} @@ -46,11 +47,11 @@ \vspace{0.5cm} \hrule \vspace{0.5cm} - \ifnum\skillcolumncount>1 - \begin{multicols}{\skillcolumncount} + \ifnum\infocolumncount>1 + \begin{multicols}{\infocolumncount} \fi }{ - \ifnum\skillcolumncount>1 + \ifnum\infocolumncount>1 \end{multicols} \fi \end{minipage} @@ -119,7 +120,6 @@ } \begin{document} - \begin{cvtitle}{<%-profile.name%>}{<%-profile.imagePath%>}{<%-profile.tagline%>} <% for (let info of profile.info) { %> \cvinfo{<%-info.name%>}{<%-info.value%>} @@ -131,7 +131,7 @@ <%-profile.about%> \end{columns} -\section*{Platform and languages} +\section*{Platforms and languages} Platforms and languages which I have worked with. The list is a shortened down version\\\\ \begin{cvskills} <% for (let skill of profile.skills.sort((a, b) => b.level - a.level)) { %> @@ -140,7 +140,7 @@ Platforms and languages which I have worked with. The list is a shortened down v \end{cvskills} \section*{Experience} -<% for (let exp of positions.sort((a, b) => new Date(b.from) - new Date(a.from))) { %> +<% for (let exp of positions.filter(p => p.resume !== false).sort((a, b) => new Date(b.from) - new Date(a.from))) { %> \begin{cvexp}{<%-exp.company%>}{<%-exp.from%>}{<%-exp.to%>}{<%-exp.title%>} <%-exp.content%> \end{cvexp}