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.html16
1 files changed, 2 insertions, 14 deletions
diff --git a/layouts/partials/section.html b/layouts/partials/section.html
index 6dcf406..c49bc51 100644
--- a/layouts/partials/section.html
+++ b/layouts/partials/section.html
@@ -1,13 +1,7 @@
<section>
<h2>{{ .heading }}</h2>
{{ with .body }}<p>{{ . }}</p>{{ end }}
- {{ with .points }}
- <ul>
- {{ range . }}
- <li>{{ . | markdownify }}</li>
- {{ end }}
- </ul>
- {{ end }}
+ {{ partial "bullet-list.html" .points }}
{{ range .subsections }}
<div>
{{ with .heading }}
@@ -24,13 +18,7 @@
<em>{{ . }}</em>
</p>
{{ end }}
- {{ with .points }}
- <ul>
- {{ range . }}
- <li>{{ . | markdownify }}</li>
- {{ end }}
- </ul>
- {{ end }}
+ {{ partial "bullet-list.html" .points }}
</div>
{{ end }}
</section>