Add graduate school template
parent
46a7c8e8e2
commit
19f3d1725a
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
hash="$(git rev-parse HEAD)"
|
||||||
|
|
||||||
|
mkdir -p ./dist
|
||||||
|
|
||||||
|
xsltproc ./templates/grad-school.xsl cv.xml > ./dist/grad-school.html
|
||||||
|
weasyprint --quiet ./dist/grad-school.html ./dist/grad-school.pdf
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<header>
|
||||||
|
<h1>Ainsley Ellis</h1>
|
||||||
|
<p class="headline">Artist, Programmer, Digital Citizen</p>
|
||||||
|
<address>
|
||||||
|
<ul role="list">
|
||||||
|
<li>Email: <a href="mailto:ainsleymae@proton.me">ainsleymae@proton.me</a>
|
||||||
|
</li>
|
||||||
|
<li>Website: <a href="https://ains.me">ains.me</a></li>
|
||||||
|
</ul>
|
||||||
|
<p>New York, NY, United States</p>
|
||||||
|
</address>
|
||||||
|
</header>
|
|
@ -23,4 +23,10 @@
|
||||||
run smoothly.
|
run smoothly.
|
||||||
</p>
|
</p>
|
||||||
</objective>
|
</objective>
|
||||||
|
<objective name="grad-school">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
I am a multidisciplinary artist and web developer that enjoys using my skills to assist others. As we enter an increasingly polarised and digitised world, I want to deepen my understanding of the building blocks of communication so that I may more effectively employ it in both my work and my everyday life, breaking down barriers between people and empowering them to navigate both the outside world and their own internal world more confidently.
|
||||||
|
</p>
|
||||||
|
</objective>
|
||||||
</objectives>
|
</objectives>
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
|
<xsl:import href="./index.xsl"/>
|
||||||
|
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" standalone="yes" doctype-system="about:legacy-compat" />
|
||||||
|
<xsl:param name="title" select="'Ainsley Ellis CV'"/>
|
||||||
|
<xsl:template match="/cv" data-xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<html lang="en" dir="ltr">
|
||||||
|
<!-- The Yesterweb is dead, long live the Yesterweb! -->
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="color-scheme" content="light dark" />
|
||||||
|
<title><xsl:value-of select="$title"/></title>
|
||||||
|
<link rel="stylesheet" href="../assets/css/all.css" />
|
||||||
|
<link rel="stylesheet" href="../assets/css/screen.css" media="screen" />
|
||||||
|
<link rel="stylesheet" href="../assets/css/print.css" media="print" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<xsl:copy-of select="document('./fragments/grad-school/header.xml')"/>
|
||||||
|
<!-- <xsl:copy-of select="/cv"/> -->
|
||||||
|
<section id="motivation">
|
||||||
|
<h2>Motivation</h2>
|
||||||
|
<!-- select specific objective from xml file -->
|
||||||
|
<xsl:copy-of select="document('./fragments/objectives.xml')/objectives/objective[@name='grad-school']/node()"/>
|
||||||
|
</section>
|
||||||
|
<section id="education">
|
||||||
|
<h2>Education</h2>
|
||||||
|
<xsl:for-each select="./education/institution">
|
||||||
|
<xsl:call-template name="institution"/>
|
||||||
|
</xsl:for-each>
|
||||||
|
</section>
|
||||||
|
<section id="work-history">
|
||||||
|
<h2>Work History</h2>
|
||||||
|
<xsl:for-each select="./work-history/company">
|
||||||
|
<xsl:call-template name="company">
|
||||||
|
<xsl:with-param name="type">brief</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:for-each>
|
||||||
|
</section>
|
||||||
|
<section id="skills">
|
||||||
|
<h2>Relevant Skills</h2>
|
||||||
|
<xsl:for-each select="./skills/category[@name='Languages']">
|
||||||
|
<xsl:call-template name="skill-category"/>
|
||||||
|
</xsl:for-each>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
Loading…
Reference in New Issue