Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/tylerjlawson/simple-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/section.html')
-rw-r--r--layouts/partials/section.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layouts/partials/section.html b/layouts/partials/section.html
new file mode 100644
index 0000000..6dcf406
--- /dev/null
+++ b/layouts/partials/section.html
@@ -0,0 +1,36 @@
+<section>
+ <h2>{{ .heading }}</h2>
+ {{ with .body }}<p>{{ . }}</p>{{ end }}
+ {{ with .points }}
+ <ul>
+ {{ range . }}
+ <li>{{ . | markdownify }}</li>
+ {{ end }}
+ </ul>
+ {{ end }}
+ {{ range .subsections }}
+ <div>
+ {{ with .heading }}
+ <div class="heading-line">
+ <h3>{{ .label }}</h3>
+ <h3>
+ {{ .startdate }} -
+ {{ if .enddate }}{{ .enddate }}{{ else }}Current{{ end }}
+ </h3>
+ </div>
+ {{ end }}
+ {{ range .degrees }}
+ <p>
+ <em>{{ . }}</em>
+ </p>
+ {{ end }}
+ {{ with .points }}
+ <ul>
+ {{ range . }}
+ <li>{{ . | markdownify }}</li>
+ {{ end }}
+ </ul>
+ {{ end }}
+ </div>
+ {{ end }}
+</section>