diff --git a/index.js b/index.js index 8e8f613..44b9dd2 100644 --- a/index.js +++ b/index.js @@ -8,9 +8,11 @@ function replaceTokens(str, data) { str = str.replace(tokenRegex, (match, token) => { let value = data; + console.log("Token, " , token) for (let key of token.split(".")) { value = value[key]; } + console.log(match, value) return value; }); diff --git a/theme/template.html b/theme/template.html index d72da3b..fe41afc 100644 --- a/theme/template.html +++ b/theme/template.html @@ -72,8 +72,12 @@ var(--error-container-alt) 10px, var(--error-container) 10px, var(--error-container) 20px + ) + fixed; + } - ) fixed; + p { + margin: 0; } .page { @@ -93,20 +97,53 @@ background-color: var(--background); } + .resume-wrapper { + display: grid; + grid-template-columns: 30% 1fr; + grid-template-rows: 1fr; + grid-auto-columns: 1fr; + gap: 0px 0px; + grid-auto-flow: row; + grid-template-areas: ". ."; + height: 100%; + } + + .l-section{ + background-color: var(--secondary); + color: var(--on-secondary); + text-align: center; + } + + .r-section{ + + } + + .profile-image{ + width: 60%; + border-radius: 50%; + margin-top: 16px; + } + @media print { - body{ - background: unset; - background-color: var(--background); - }; + body { + background: unset; + background-color: var(--background); + } }
-

Hello

-

This is some text

-
+
+
+ +

{basics.name}

+
+
+ +
+