~williamvds/website

ref: a7c661ca9f1ef202241a52a835290c72b2950216 website/templates/shortcodes/cv_entry.html -rw-r--r-- 584 bytes
a7c661cawilliamvds Add license 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% set dateFmt = "%b %Y" %}
<section class=position id="{{id}}">
	<div class=positionTitle>
		<h3 class=org><a href="{{url}}">{{org}}</a></h3>
		{% if date %}<h3 class=date>{{date | date(format=dateFmt)}}</h3>
		{% elif start %}
			<h3 class=date>{{start | date(format=dateFmt)}}
			&nbsp;&ndash;&nbsp;
			{%- if end -%}
				{{end | date(format=dateFmt)}}
			{%- else -%}Present {%-endif-%}
			{%- if showDuration -%}
				<span class=duration>({{duration}})</span>
			{%- endif -%}
			</h3>
		{% endif %}
	</div>
	<h3 class=title>{{title}}</h3>
	{{body | markdown | safe}}
</section>