From 585e1340e7cbc7cf5dac9cd57594c532d24386eb Mon Sep 17 00:00:00 2001 From: Reorx Date: Sat, 4 Feb 2023 21:25:58 +0800 Subject: [PATCH] fill in data in reorx template --- src/templates/reorx/index.ejs | 55 ++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/src/templates/reorx/index.ejs b/src/templates/reorx/index.ejs index dea85d5..2405b0d 100644 --- a/src/templates/reorx/index.ejs +++ b/src/templates/reorx/index.ejs @@ -21,12 +21,43 @@
-

+

Work

+ <% for (const item of work) { %> +
+

<%= item.name %>

+

<%= item.url %>

+

<%= item.startDate %> - <%= item.endDate %>

+

<%= item.position %>

+
<%= item.summary %>
+
+ <% for (const hl of item.highlights) { %> +
<%= hl %>
+ <% } %> +
+
+ <% } %>

Projects

+ <% for (const item of projects) { %> +
+

<%= item.name %>

+

<%= item.description %>

+

<%= item.startDate %> - <%= item.endDate %>

+
+ <% for (const hl of item.highlights) { %> +
<%= hl %>
+ <% } %> +
+
+ <% for (const kw of item.keywords) { %> + <%= kw %> + <% } %> +
+
+ <% } %>
@@ -37,4 +68,26 @@

Skills

+ <% for (const item of skills) { %> +
+

<%= item.name %>

+
<%= item.level %>
+
+ <% for (const kw of item.keywords) { %> + <%= kw %> + <% } %> +
+
+ <% } %> +
+ + +
+

Languages

+ <% for (const item of languages) { %> +
+

<%= item.language %>

+
<%= item.fluency %>
+
+ <% } %>