~williamvds/website

ref: fb07fa4c57c96d442faafc4f13fbde6423dcc3e2 website/templates/shortcodes/cv_entry.html -rw-r--r-- 571 bytes
fb07fa4cwilliamvds cv: fix spacing in date ranges 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)}}
			&ndash;
			{% 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>